Function at 0x40e700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53062a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x58deec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040b5e0
mov ecx, esi
call fcn.0041556d
push 0xe
xor ebx, ebx
mov edi, 0xf
push 0x541124
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00408eb0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00408d80
lea ecx, [ebp - 0x2c]
push 0x5892ac
push ecx
mov byte [ebp - 4], 1
call fcn.00407fe0
mov edi, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], 0x10
jae 0x40e794
lea edi, [ebp - 0x2c]
call fcn.004270e9
cmp eax, ebx
je 0x40e7a8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x40e7aa
xor eax, eax
push edi
mov ecx, eax
call fcn.0041ddea
call fcn.00407240
push ebx
lea ecx, [esi + 0xb4]
push 0x5409a6
call fcn.00405540
push 1
lea ecx, [esi + 0xc0]
push 0x54189c
call fcn.00405540
push 1
lea ecx, [esi + 0xcc]
push 0x54189c
call fcn.00405540
push 0xff00ff
push 0x81
mov ecx, esi
call fcn.00401e90
mov eax, dword [esi + 0x5fc]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call edi
mov eax, dword [esi + 0x5fc]
mov edx, dword [esi + 0x20]
push eax
push ebx
push 0x80
push edx
call edi
push 0xff00ff
push 0xb7
push 0xff00ff
push 0xb4
lea ecx, [esi + 0x60c]
call fcn.004046f0
push ebx
lea ecx, [esi + 0x60c]
call fcn.00404320
push 1
push ebx
lea ecx, [esi + 0x60c]
call fcn.00404230
push 0xff00ff
push 0xb5
push 0xff00ff
push 0xb6
lea ecx, [esi + 0xb48]
call fcn.004046f0
push ebx
lea ecx, [esi + 0xb48]
call fcn.00404320
push 1
push ebx
lea ecx, [esi + 0xb48]
call fcn.00404230
push 1
lea ecx, [esi + 0x1084]
call fcn.00404320
push ebx
lea ecx, [esi + 0x1084]
call fcn.004042c0
push 1
lea ecx, [esi + 0x15c0]
call fcn.00404320
push ebx
lea ecx, [esi + 0x15c0]
call fcn.004042c0
push 0xff00ff
push 0xcd
push 0xff00ff
push 0xcd
lea ecx, [esi + 0x1afc]
call fcn.004046f0
push 1
lea ecx, [esi + 0x1afc]
call fcn.00404320
push ebx
lea ecx, [esi + 0x1afc]
call fcn.0041def7
push 1
push ebx
lea ecx, [esi + 0x1afc]
call fcn.00404230
push 0xff00ff
push 0xcf
push 0xff00ff
push 0xd1
lea ecx, [esi + 0x2038]
mov dword [esi + 0x20d4], ebx
call fcn.004046f0
push 1
lea ecx, [esi + 0x2038]
call fcn.00404320
push 1
push ebx
lea ecx, [esi + 0x2038]
call fcn.00404230
push ebx
lea ecx, [esi + 0x18c]
call fcn.0041deb5
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, 0x592e58
jmp 0x40e970
push 0x53c
call fcn.00414ff2
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x40e98f
mov ecx, eax
call fcn.00404bc0
push 0
push 0x97
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004046d0
push 1
mov ecx, edi
call fcn.00404320
push 4
mov ecx, edi
call fcn.00402d20
push 1
push 0x6b6b6b
push 1
mov ecx, edi
call fcn.00404170
push 1
push 0x6b6b6b
push 3
mov ecx, edi
call fcn.00404170
push 1
push 0x6b6b6b
push 5
mov ecx, edi
call fcn.00404170
push 1
push 0xa0
mov ecx, edi
call fcn.004041b0
push 0
push 1
push 0
call ebx
push eax
push 0xad
mov ecx, edi
call fcn.00402d80
add edi, 0x53c
cmp edi, 0x5962b0
jl 0x40e970
push 0
lea ecx, [esi + 0x4f0]
call fcn.0041deb5
lea ecx, [esi + 0x4f0]
mov dword [esi + 0x564], 0xffffff
call fcn.0040f320
push 0x54188c
lea ecx, [esi + 0x4f0]
call fcn.0041ddea
push 5
lea ecx, [esi + 0x4f0]
call fcn.0041deb5
push esi
push 0x404
lea ecx, [esi + 0x22c]
call fcn.00406580
push 0
push 0
push esi
push 0x40e060
push 0x2800
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x40ea95
mov eax, dword [ebp - 0x48]
push eax
call fcn.0041502c
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], esi
jb 0x40eab8
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041502c
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005156a7
mov esp, ebp
pop ebp
ret