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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x415fd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
mov eax, dword [0x41b168]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xe0]
mov dword [esp + 0x18c], eax
mov dword [esp + 0xc], esi
call fcn.00402b68
mov ecx, dword [esi + 4]
lea eax, [esp + 0xe0]
xor ebx, ebx
push eax
mov dword [esp + 0x1a0], ebx
call fcn.00406900
test al, al
je 0x40a22d
jmp 0x409d60
mov eax, dword [esp + 0xe0]
cmp eax, 1
jne 0x40a1d5
mov eax, 0x4177b0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x409d78
mov esi, dword [esp + 0x114]
sub eax, edx
cmp esi, esi
mov edi, eax
mov dword [esp + 0x20], edi
mov edx, esi
jae 0x409d94
cmp edx, ebx
je 0x409ddb
cmp edx, edi
mov ecx, edx
jb 0x409da0
mov ecx, edi
cmp dword [esp + 0x118], 0x10
mov esi, dword [esp + 0x104]
jae 0x409db8
lea esi, [esp + 0x104]
mov edi, 0x4177b0
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x409dc8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov esi, dword [esp + 0x114]
jne 0x409fb4
mov edi, dword [esp + 0x20]
cmp edx, edi
jb 0x409fb4
xor eax, eax
cmp edx, edi
setne al
cmp eax, ebx
jne 0x409fb4
mov esi, 0xf
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1a0], 1
call fcn.004097c0
test al, al
je 0x40a24b
mov eax, 0x4177c4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x409e40
sub eax, edi
push eax
push 0x4177c4
lea ecx, [esp + 0x4c]
call fcn.004018c7
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1a0], 2
call fcn.00406820
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.00401838
mov eax, dword [esp + 0x5c]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x19c], 4
jb 0x409eb8
mov eax, dword [esp + 0x48]
push eax
call fcn.0040b5ad
add esp, 4
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x15c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00405e60
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
add ecx, 0x28
mov byte [esp + 0x1a4], 5
call fcn.00406590
cmp dword [esp + 0x188], edi
jb 0x409f10
mov ecx, dword [esp + 0x174]
push ecx
call fcn.0040b5ad
add esp, 4
cmp dword [esp + 0x16c], edi
mov dword [esp + 0x188], esi
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
jb 0x409f3e
mov edx, dword [esp + 0x158]
push edx
call fcn.0040b5ad
add esp, 4
cmp dword [esp + 0xdc], edi
mov dword [esp + 0x16c], esi
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
jb 0x409f6c
mov eax, dword [esp + 0xc8]
push eax
call fcn.0040b5ad
add esp, 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
jb 0x409f9a
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0040b5ad
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jmp 0x40a1e7
mov eax, 0x4177b8
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x409fc0
sub eax, edx
push eax
push 0x4177b8
push esi
push ebx
lea ecx, [esp + 0x110]
call fcn.00401143
test eax, eax
jne 0x40a287
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x1a0], 6
call fcn.00409990
test al, al
je 0x40a27c
mov edi, 0xf
mov eax, 0x4177c4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40a028
sub eax, esi
push eax
push 0x4177c4
lea ecx, [esp + 0x30]
call fcn.004018c7
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1a0], 7
call fcn.00406820
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.00401838
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0x19c], 9
jb 0x40a09a
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040b5ad
add esp, 4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00401838
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1a0], 0xa
call fcn.00408d60
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
add ecx, 0x34
mov byte [esp + 0x1a4], 0xb
call fcn.00409660
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x40a13f
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0xb8]
push edx
push ecx
push eax
call fcn.00408750
mov edx, dword [esp + 0xc8]
push edx
call fcn.0040b5ad
add esp, 0x14
cmp dword [esp + 0xb0], esi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
jb 0x40a16d
mov eax, dword [esp + 0x9c]
push eax
call fcn.0040b5ad
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jb 0x40a195
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0040b5ad
add esp, 4
mov esi, dword [esp + 0x14]
cmp esi, ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
je 0x40a1c7
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
push esi
call fcn.00408750
push esi
call fcn.0040b5ad
add esp, 0x14
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jmp 0x40a1e7
cmp eax, 3
je 0x40a311
cmp eax, 2
je 0x40a3a2
lea ecx, [esp + 0xe0]
mov dword [esp + 0x19c], 0xffffffff
call fcn.00402bc2
lea ecx, [esp + 0xe0]
call fcn.00402b68
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xe0]
push edx
mov dword [esp + 0x1a0], ebx
call fcn.00406900
test al, al
jne 0x409d60
lea ecx, [esp + 0xe0]
mov dword [esp + 0x19c], 0xffffffff
call fcn.00402bc2
xor al, al
jmp 0x40a3bb
cmp dword [esp + 0x94], 0x10
jb 0x40a265
mov eax, dword [esp + 0x80]
push eax
call fcn.0040b5ad
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jmp 0x40a22d
lea ecx, [esp + 0x10]
call fcn.00408e10
jmp 0x40a22d
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x2c]
push 0x417298
push edx
call fcn.00402073
push 0x417230
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x1b4], 0xc
call fcn.00402027
add esp, 0x18
mov ecx, dword [esp + 0xc]
push eax
mov byte [esp + 0x1a0], 0xd
call fcn.00408970
mov eax, dword [esp + 0x78]
mov esi, 0x10
cmp eax, esi
jb 0x40a2e5
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0040b5ad
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x40a22d
mov edx, dword [esp + 0x2c]
push edx
call fcn.0040b5ad
add esp, 4
jmp 0x40a22d
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x48]
push 0x417280
push ecx
call fcn.00402073
push 0x417230
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x1b4], 0xe
call fcn.00402027
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x1a0], 0xf
call fcn.00408970
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp eax, esi
jb 0x40a36d
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040b5ad
add esp, 4
cmp dword [esp + 0x5c], esi
mov edi, 0xf
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jb 0x40a391
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0040b5ad
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jmp 0x40a22d
lea ecx, [esp + 0xe0]
mov dword [esp + 0x19c], 0xffffffff
call fcn.00402bc2
mov al, 1
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18c]
xor ecx, dword [ebp + 4]
call fcn.0040c7a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret