Function at 0x4023e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x453d27
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x46b8c4]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x46b8c4]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
call fcn.004124ae
xor esi, esi
cmp eax, esi
je 0x40243c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x40243e
xor eax, eax
push 0x45e480
mov ecx, eax
call fcn.00410f38
mov ecx, dword [edi + 0x20]
push esi
push esi
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [edi + 0x78], esi
jbe 0x402943
call fcn.004073a0
mov dword [esp + 0x38], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 8], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x100], esi
mov eax, dword [edi + 0x74]
mov ebx, dword [eax]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], ebx
jmp 0x4024a4
mov ebx, dword [esp + 0x44]
mov edx, dword [edi + 0x74]
lea esi, [edi + 0x70]
cmp esi, esi
mov dword [esp + 0x78], edx
je 0x4024b7
call fcn.0043bc12
cmp ebx, dword [esp + 0x78]
je 0x40290f
cmp ebx, dword [esi + 4]
jne 0x4024cb
call fcn.0043bc12
push 0xffffffffffffffff
push 0
add ebx, 0x28
push ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
call fcn.00404b30
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x108], 1
push ecx
mov byte [esp + 0x34], 0x5c
call fcn.00404c10
cmp eax, 0xffffffff
jne 0x402740
push 1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x34], 0x2f
call fcn.00404c10
cmp eax, 0xffffffff
jne 0x402740
cmp dword [ebx + 0x18], 0x10
lea esi, [ebx + 4]
jb 0x402556
mov eax, dword [esi]
jmp 0x402558
mov eax, esi
push eax
lea ecx, [esp + 0x4c]
call fcn.004080a0
mov byte [esp + 0x100], 2
cmp dword [ebx + 0x18], 0x10
jb 0x402572
mov esi, dword [esi]
push edi
lea ecx, [esp + 0x4c]
call fcn.00404060
push 0
push eax
push 0
push 0
push esi
mov esi, dword [esp + 0x40]
push esi
push 3
mov ecx, edi
call fcn.00415c45
mov byte [esp + 0x100], 1
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x45e49c
push 1
push esi
mov ecx, edi
call fcn.00415af5
push ebx
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, edi
call fcn.00415c91
mov esi, dword [ebx + 0x24]
lea edi, [esp + 0x58]
call fcn.00403fa0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x100], 3
mov eax, dword [eax]
push eax
push 2
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00415af5
mov byte [esp + 0x100], 1
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40262d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebx + 0x28]
lea edi, [esp + 0x54]
call fcn.00403fa0
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x100], 4
mov eax, dword [eax]
push eax
push 3
push edi
call fcn.00415af5
mov byte [esp + 0x100], 1
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40267c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00411f77
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x402905
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x100], 5
mov eax, dword [ebx + 0x24]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x4026bb
mov dword [esp + 0x2c], 1
sub eax, dword [ebx + 0x28]
sub esp, 8
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
lea ecx, [esp + 0x54]
fmul qword [0x45e9a0]
fidiv dword [esp + 0x34]
fstp qword [esp]
push str._.2f__
push ecx
call fcn.00401670
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
add esp, 0x10
push esi
push 4
push edi
call fcn.00415af5
add edi, 1
lea eax, [esi - 0x10]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x100], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402724
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
cmp byte [edx + 0x55], 0
je 0x40288b
call fcn.0043bc12
jmp 0x4028da
push eax
xor ecx, ecx
lea esi, [esp + 0x8c]
lea edx, [esp + 0xa8]
call fcn.00404420
mov byte [esp + 0x100], 6
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
mov ecx, esi
lea eax, [esp + 0x34]
call fcn.00406590
cmp eax, dword [esp + 0x38]
lea edx, [esp + 0x34]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
je 0x4027d7
cmp dword [eax + 0x24], 0x10
mov esi, dword [eax + 0x20]
jb 0x402791
mov ecx, dword [eax + 0x10]
jmp 0x402794
lea ecx, [eax + 0x10]
mov ebx, dword [esp + 0x9c]
cmp ebx, esi
mov eax, ebx
jb 0x4027a3
mov eax, esi
cmp dword [esp + 0xa0], 0x10
mov edx, dword [esp + 0x8c]
jae 0x4027bb
lea edx, [esp + 0x8c]
call fcn.00401900
test eax, eax
jne 0x4027cf
cmp ebx, esi
jb 0x4027d7
cmp ebx, esi
setne al
test eax, eax
jl 0x4027d7
lea eax, [esp + 0x64]
jmp 0x4027eb
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x5c]
mov ecx, dword [eax]
test ecx, ecx
mov esi, dword [eax + 4]
je 0x4027fc
lea edx, [esp + 0x34]
cmp ecx, edx
je 0x402801
call fcn.0043bc12
cmp esi, dword [esp + 0x70]
jne 0x402868
cmp dword [esp + 0xa0], 0x10
mov ecx, dword [esp + 0x8c]
jae 0x40281f
lea ecx, [esp + 0x8c]
mov eax, dword [edi + 0x7c]
mov esi, dword [esp + 0x2c]
push 0
push eax
push 0
push 0
push ecx
push esi
push 3
mov ecx, edi
call fcn.00415c45
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00404900
push 0x45e4ac
push 1
push esi
mov ecx, edi
call fcn.00415af5
add esi, 1
mov dword [esp + 0x2c], esi
cmp dword [esp + 0xa0], 0x10
jb 0x402728
mov eax, dword [esp + 0x8c]
push eax
call fcn.00408c6e
add esp, 4
jmp 0x402728
mov ecx, dword [edx + 8]
cmp byte [ecx + 0x55], 0
jne 0x4028b0
mov eax, dword [ecx]
cmp byte [eax + 0x55], 0
jne 0x4028aa
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x55], 0
je 0x4028a0
mov dword [esp + 0x44], ecx
jmp 0x4028da
mov eax, dword [edx + 4]
cmp byte [eax + 0x55], 0
jne 0x4028d6
jmp 0x4028c4
mov edx, dword [esp + 0x44]
cmp edx, dword [eax + 8]
jne 0x4028d6
mov dword [esp + 0x44], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x55], 0
je 0x4028c0
mov dword [esp + 0x44], eax
mov byte [esp + 0x100], 0
cmp dword [esp + 0xbc], 0x10
jb 0x4024a0
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00408c6e
add esp, 4
jmp 0x4024a0
push 0x80004005
call fcn.004014b0
mov dword [esp + 0x100], 0xffffffff
mov esi, dword [esp + 0x38]
mov ecx, dword [esi]
push esi
lea eax, [esp + 0x38]
push eax
mov edx, eax
push ecx
push edx
lea edx, [esp + 0x7c]
push edx
mov edi, eax
call fcn.00406480
mov eax, dword [esp + 0x38]
push eax
call fcn.00408c6e
add esp, 4
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0043b64b
mov esp, ebp
pop ebp
ret