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

Disassembly:
mov eax, 0x427668
call fcn.004256c0
sub esp, 0x50
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x40e6af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x40e6bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 8], ebx
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x40e6cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0xc], ebx
lea ecx, [edi + 0x78]
call fcn.0040e23c
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.00404620
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.004032ae
push 0x2e
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0040371b
cmp eax, ebx
jl 0x40e726
mov ecx, dword [ebp - 0x5c]
lea eax, [ecx + eax*2 + 2]
lea ecx, [ebp - 0x50]
push eax
call fcn.00417f2e
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 0x40e754
cmp eax, 0xffffffff
jbe 0x40e74a
or eax, 0xffffffff
push eax
call fcn.00417f2e
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 0x40e770
mov ecx, dword [ebp - 0x10]
and byte [eax + ecx], 0
mov ecx, dword [esi]
inc eax
cmp eax, dword [ecx + 0xc]
jb 0x40e761
cmp byte [esi + 0x1e], 0
je 0x40e784
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x40e78e
mov dword [ebp - 0x30], 0x800000
mov dword [ebp - 0x2c], ebx
mov ebx, dword [esi + 8]
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jl 0x40e7bf
lea ecx, [ebp - 0x44]
call fcn.00417f2e
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 0x40e87a
mov eax, dword [esi]
xor ebx, ebx
mov dword [ebp + 8], ebx
cmp dword [eax + 0xc], ebx
jbe 0x40e84f
mov eax, dword [eax + 8]
cmp byte [edi + 0x17], 0
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x20], eax
jne 0x40e7e4
cmp byte [esi + 0x19], 0
jne 0x40e7f8
mov eax, dword [ebp - 0x20]
mov edx, str.Split
mov ecx, dword [eax + 0x10]
call fcn.00402b61
test al, al
jne 0x40e847
mov ecx, dword [esi + 0x2c]
push dword [ecx + 4]
push 0
push ebx
call fcn.0040fcc2
test eax, eax
jge 0x40e847
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x50]
push eax
call fcn.0040d883
test eax, eax
jl 0x40e833
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040fc13
mov eax, dword [ebp - 0x10]
mov byte [ebx + eax], 1
jmp 0x40e847
lea ecx, [ebp - 0x44]
call fcn.00417f2e
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 0x40e7cf
cmp dword [esi + 0x30], 0
jne 0x40e86a
push 1
pop eax
cmp dword [ebp + 8], eax
je 0x40e867
mov esi, 0x80004001
jmp 0x40ea3b
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x40e87a
mov dword [ebp - 0x18], eax
mov ebx, dword [esi + 0x30]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
test ebx, ebx
je 0x40e8a9
mov ecx, ebx
call fcn.00408e26
test eax, eax
jne 0x40e8a2
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00417f2e
test eax, eax
je 0x40e8a9
mov esi, eax
jmp 0x40ea3b
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 0x40ea32
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x1c], eax
jl 0x40e8d2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
jbe 0x40ea32
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 0x40e906
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push ebx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x40ea71
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
je 0x40e91a
call fcn.00408e26
cmp eax, ebx
jne 0x40ea71
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.0040e629
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jne 0x40ea78
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x40e94b
mov byte [ebp - 4], 3
jmp 0x40ea23
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
je 0x40e970
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 0x40e9ac
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x429308
push eax
mov byte [ebp - 4], 5
call dword [ecx]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40ea91
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 0x40e9ac
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.0040e268
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x40eacc
cmp ebx, 1
jne 0x40eaf8
cmp byte [edi + 0x7b], 0
lea eax, [edi + 0x78]
je 0x40e9e1
test byte [eax + 4], bl
jne 0x40e9e1
mov bl, bl
jmp 0x40e9e3
xor bl, bl
cmp dword [ebp - 0x14], 0
jne 0x40ea12
cmp dword [ebp - 0x18], 1
jne 0x40ea12
mov ecx, dword [edi + 0x3c]
push eax
mov dword [edi + 0x84], ecx
lea ecx, [edi + 0xa8]
call fcn.0040eb56
cmp byte [esi + 0x1a], 0
jne 0x40ea12
test bl, bl
jne 0x40eae2
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40ea23
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 0x40e8de
xor esi, esi
cmp dword [edi], esi
jne 0x40ea3b
push 1
pop esi
push dword [ebp - 0x10]
call fcn.00403a73
push dword [ebp - 0x44]
call fcn.00403a73
push dword [ebp - 0x50]
call fcn.00403a73
push dword [ebp - 0x5c]
call fcn.00403a73
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 0x40eb2c
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x40ea89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x1c]
jmp 0x40eb2c
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x40eaa2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x10]
call fcn.00403a73
push dword [ebp - 0x44]
call fcn.00403a73
push dword [ebp - 0x50]
call fcn.00403a73
push dword [ebp - 0x5c]
call fcn.00403a73
add esp, 0x10
mov eax, 0x80004001
jmp 0x40ea60
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40eadd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x1c]
jmp 0x40eb2c
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40eaf3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop ebx
jmp 0x40eb2c
test ebx, ebx
je 0x40eb0f
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40eb2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40eb2c
push dword [ebp + 8]
mov ecx, edi
call fcn.00416bb8
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x40eb2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
push dword [ebp - 0x10]
call fcn.00403a73
push dword [ebp - 0x44]
call fcn.00403a73
push dword [ebp - 0x50]
call fcn.00403a73
push dword [ebp - 0x5c]
call fcn.00403a73
add esp, 0x10
mov eax, ebx
jmp 0x40ea60