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

Disassembly:
mov eax, 0x41aa50
call fcn.00419aa0
sub esp, 0x50
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x409fa2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x409fb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 8], ebx
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x409fc2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0xc], ebx
lea ecx, [edi + 0x78]
call fcn.00409b2f
or dword [edi + 0x84], 0xffffffff
and byte [edi + 0x10], 0
mov dword [edi + 0xd8], ebx
lea edx, [edi + 0x18]
lea ecx, [ebp - 0x5c]
mov dword [edi + 0xdc], ebx
call fcn.00404619
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00403797
push 0x2e
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00403bf7
cmp eax, ebx
jl 0x40a019
mov ecx, dword [ebp - 0x5c]
lea eax, [ecx + eax*2 + 2]
lea ecx, [ebp - 0x50]
push eax
call fcn.00403878
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x40a047
cmp eax, 0xffffffff
jbe 0x40a03d
or eax, 0xffffffff
push eax
call fcn.004031fd
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi]
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ecx + 0xc], ebx
jbe 0x40a063
mov ecx, dword [ebp - 0x10]
and byte [eax + ecx], 0
mov ecx, dword [esi]
inc eax
cmp eax, dword [ecx + 0xc]
jb 0x40a054
cmp byte [esi + 0x1e], 0
je 0x40a077
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x40a081
mov dword [ebp - 0x30], 0x800000
mov dword [ebp - 0x2c], ebx
mov ebx, dword [esi + 8]
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jl 0x40a0b2
lea ecx, [ebp - 0x44]
call fcn.0040b52d
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
inc dword [ebp - 0x40]
mov dword [ebp - 0x18], 1
mov dword [ecx + eax*4], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebx + eax], 1
jmp 0x40a16d
mov eax, dword [esi]
xor ebx, ebx
mov dword [ebp + 8], ebx
cmp dword [eax + 0xc], ebx
jbe 0x40a142
mov eax, dword [eax + 8]
cmp byte [edi + 0x17], 0
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x20], eax
jne 0x40a0d7
cmp byte [esi + 0x19], 0
jne 0x40a0eb
mov eax, dword [ebp - 0x20]
mov edx, str.Split
mov ecx, dword [eax + 0x10]
call fcn.004032fb
test al, al
jne 0x40a13a
mov ecx, dword [esi + 0x2c]
push dword [ecx + 4]
push 0
push ebx
call fcn.0040b571
test eax, eax
jge 0x40a13a
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x50]
push eax
call fcn.0040929b
test eax, eax
jl 0x40a126
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b4c2
mov eax, dword [ebp - 0x10]
mov byte [ebx + eax], 1
jmp 0x40a13a
lea ecx, [ebp - 0x44]
call fcn.0040b52d
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
inc dword [ebp - 0x40]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi]
inc ebx
cmp ebx, dword [eax + 0xc]
jb 0x40a0c2
cmp dword [esi + 0x30], 0
jne 0x40a15d
push 1
pop eax
cmp dword [ebp + 8], eax
je 0x40a15a
mov esi, 0x80004001
jmp 0x40a32e
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x40a16d
mov dword [ebp - 0x18], eax
mov ebx, dword [esi + 0x30]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
test ebx, ebx
je 0x40a19c
mov ecx, ebx
call fcn.00408301
test eax, eax
jne 0x40a195
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.0040830e
test eax, eax
je 0x40a19c
mov esi, eax
jmp 0x40a32e
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x6c], eax
cmp byte [esi + 0x19], 0
je 0x40a325
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x1c], eax
jl 0x40a1c5
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
jbe 0x40a325
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x40a1f9
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push ebx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x40a364
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
je 0x40a20d
call fcn.00408301
cmp eax, ebx
jne 0x40a364
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
mov ecx, edi
push eax
mov byte [ebp - 4], 4
push dword [edi + 0x3c]
push esi
call fcn.00409f1c
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jne 0x40a36b
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x40a23e
mov byte [ebp - 4], 3
jmp 0x40a316
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
je 0x40a263
mov edx, dword [ebp - 0x30]
push dword [esi + 0x38]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x2c]
lea ebx, [ebp - 0x38]
mov dword [ebp - 0x34], edx
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0xc]
mov ebx, eax
jmp 0x40a29f
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x41c4c0
push eax
mov byte [ebp - 4], 5
call dword [ecx]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40a384
push dword [esi + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
test eax, eax
mov byte [ebp - 4], 4
je 0x40a29f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 0
push 0
mov ecx, edi
push dword [ebp + 8]
call fcn.00409b5b
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x40a3bf
cmp ebx, 1
jne 0x40a3eb
cmp byte [edi + 0x7b], 0
lea eax, [edi + 0x78]
je 0x40a2d4
test byte [eax + 4], bl
jne 0x40a2d4
mov bl, bl
jmp 0x40a2d6
xor bl, bl
cmp dword [ebp - 0x14], 0
jne 0x40a305
cmp dword [ebp - 0x18], 1
jne 0x40a305
mov ecx, dword [edi + 0x3c]
push eax
mov dword [edi + 0x84], ecx
lea ecx, [edi + 0xa8]
call fcn.0040a449
cmp byte [esi + 0x1a], 0
jne 0x40a305
test bl, bl
jne 0x40a3d5
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40a316
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jb 0x40a1d1
xor esi, esi
cmp dword [edi], esi
jne 0x40a32e
push 1
pop esi
push dword [ebp - 0x10]
call fcn.00403231
push dword [ebp - 0x44]
call fcn.00403231
push dword [ebp - 0x50]
call fcn.00403231
push dword [ebp - 0x5c]
call fcn.00403231
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov ebx, eax
jmp 0x40a41f
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x40a37c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x1c]
jmp 0x40a41f
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x40a395
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x10]
call fcn.00403231
push dword [ebp - 0x44]
call fcn.00403231
push dword [ebp - 0x50]
call fcn.00403231
push dword [ebp - 0x5c]
call fcn.00403231
add esp, 0x10
mov eax, 0x80004001
jmp 0x40a353
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40a3d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x1c]
jmp 0x40a41f
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40a3e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop ebx
jmp 0x40a41f
test ebx, ebx
je 0x40a402
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40a41f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40a41f
push dword [ebp + 8]
mov ecx, edi
call fcn.00406a91
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40a41d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
push dword [ebp - 0x10]
call fcn.00403231
push dword [ebp - 0x44]
call fcn.00403231
push dword [ebp - 0x50]
call fcn.00403231
push dword [ebp - 0x5c]
call fcn.00403231
add esp, 0x10
mov eax, ebx
jmp 0x40a353