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

Disassembly:
push 0xffffffffffffffff
push 0x4bdfbc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [edi + 4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
call fcn.00442890
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0xf0], ebx
call fcn.00402500
add edi, 0x14
mov ecx, dword [esp + 0xf8]
lea eax, [esp + 0x78]
push eax
call fcn.00444210
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x80]
push ecx
mov ebp, 0xf
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401a00
push 0x4e92f8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0xfc], 2
call fcn.00401bb0
mov ecx, dword [esp + 0x108]
push ecx
push eax
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0x108], 3
call fcn.00401c60
add esp, 0x18
mov esi, eax
push esi
mov ecx, edi
mov byte [esp + 0xf4], 4
call fcn.004014d0
mov edx, dword [edi + 4]
cmp eax, edx
mov dword [esp + 0x10], eax
je 0x403785
cmp dword [eax + 0x24], 0x10
mov edi, dword [eax + 0x20]
mov dword [esp + 0x1c], edi
jb 0x403731
mov eax, dword [eax + 0x10]
jmp 0x403734
add eax, 0x10
mov ebp, dword [esi + 0x14]
cmp ebp, ebx
je 0x403766
cmp ebp, edi
mov ecx, ebp
jb 0x403743
mov ecx, edi
cmp dword [esi + 0x18], 0x10
jb 0x40374e
mov esi, dword [esi + 4]
jmp 0x403751
add esi, 4
mov edi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40375e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x403773
mov edi, dword [esp + 0x1c]
cmp ebp, edi
jb 0x403780
xor eax, eax
cmp ebp, edi
setne al
cmp eax, ebx
jl 0x403780
lea eax, [esp + 0x10]
mov ebp, 0xf
jmp 0x40378d
mov ebp, 0xf
mov dword [esp + 0x18], edx
lea eax, [esp + 0x18]
mov edi, dword [eax]
cmp dword [esp + 0xac], 0x10
jb 0x4037a9
mov eax, dword [esp + 0x98]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0xc8], 0x10
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
jb 0x4037d8
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x403801
mov edx, dword [esp + 0x28]
push edx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0xf0], bl
jb 0x40382b
mov eax, dword [esp + 0x7c]
push eax
call fcn.00442830
add esp, 4
mov eax, dword [esp + 0x20]
cmp edi, dword [eax + 0x18]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
je 0x40396a
mov esi, dword [edi + 0x28]
push edi
lea ecx, [esp + 0x14]
lea edi, [eax + 0x14]
push ecx
mov ecx, edi
call fcn.00402580
cmp byte [esi + 0xa8], bl
mov byte [esi + 0xa9], 1
je 0x40387c
lea ecx, [esi + 0x7c]
call fcn.00443cf0
test al, al
je 0x403982
lea edx, [esp + 0x5c]
push edx
lea ecx, [esi + 4]
call fcn.00444210
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xfc], 5
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401a00
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xd0]
push 0x4e92d8
push edx
mov byte [esp + 0xfc], 6
call fcn.00402050
add esp, 0xc
push eax
mov eax, dword [0x5132b8]
push ebx
mov ecx, 0x5132b8
mov byte [esp + 0xf8], 7
call dword [eax + 4]
cmp dword [esp + 0xe4], 0x10
jb 0x403901
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
jb 0x40392a
mov edx, dword [esp + 0x44]
push edx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0xf0], bl
jb 0x403951
mov eax, dword [esp + 0x60]
push eax
call fcn.00442830
add esp, 4
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call dword [edx]
jmp 0x403684
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf0], 0xffffffff
call fcn.004428a0
xor eax, eax
jmp 0x403998
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf0], 0xffffffff
call fcn.004428a0
mov eax, esi
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 8