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

Disassembly:
mov eax, 0x41d566
call fcn.0041a068
sub esp, 0x5c
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx]
test ecx, ecx
je 0x40a7ad
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx], 0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x40a7be
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx + 8], 0
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x40a7cf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx + 0xc], 0
lea ecx, [ebx + 0x78]
call fcn.00409c7a
or dword [ebx + 0x84], 0xffffffff
lea edx, [ebx + 0x18]
xor eax, eax
lea ecx, [ebp - 0x68]
mov byte [ebx + 0x10], al
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], eax
call fcn.004043b8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004032dd
push 0x2e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00403a12
test eax, eax
js 0x40a82a
mov ecx, dword [ebp - 0x68]
add ecx, 2
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004033d0
and dword [ebp - 0x50], 0
xor eax, eax
and dword [ebp - 0x48], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push dword [eax + 0xc]
call fcn.004096c5
mov eax, dword [esi]
xor ecx, ecx
mov edi, dword [ebp - 0x34]
mov byte [ebp - 4], 3
cmp dword [eax + 0xc], ecx
jbe 0x40a869
mov byte [ecx + edi], 0
inc ecx
mov eax, dword [esi]
cmp ecx, dword [eax + 0xc]
jb 0x40a85d
cmp byte [esi + 0x1e], 0
je 0x40a87d
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x2c], edx
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x30], edx
jmp 0x40a888
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x800000
mov ecx, dword [esi + 8]
mov dword [ebp - 0x24], ecx
test ecx, ecx
js 0x40a8b7
push ecx
lea ecx, [ebp - 0x50]
call fcn.00409a8b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ecx
mov byte [eax + edi], 1
lea eax, [esi + 0x30]
jmp 0x40a97a
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
cmp dword [eax + 0xc], ecx
jbe 0x40a94e
cmp byte [ebx + 0x17], 0
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x28], eax
jne 0x40a8df
cmp byte [esi + 0x19], 0
jne 0x40a8f0
mov ecx, dword [eax + 0x10]
mov edx, str.Split
call fcn.00403c64
test al, al
jne 0x40a937
mov ecx, dword [esi + 0x2c]
push dword [ecx + 4]
push 0
push dword [ebp - 0x14]
call fcn.00409d1d
test eax, eax
jns 0x40a937
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x5c]
push eax
call fcn.004094b2
lea ecx, [ebp - 0x50]
push dword [ebp - 0x14]
test eax, eax
js 0x40a932
push dword [ebp - 0x1c]
call fcn.0040a07b
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x1c], edx
mov byte [ecx + edi], 1
jmp 0x40a93d
call fcn.00409a8b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [eax + 0xc]
jb 0x40a8ca
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
lea eax, [esi + 0x30]
cmp dword [eax], 0
jne 0x40a970
cmp edx, 1
je 0x40a965
mov esi, 0x80004001
jmp 0x40ab93
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x4c], ecx
jmp 0x40a977
mov dword [ebp - 0x1c], ecx
test edx, edx
je 0x40a97a
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40a9b4
mov ecx, eax
call fcn.004083cf
mov esi, eax
test esi, esi
jne 0x40ab93
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x3c]
call fcn.00408292
mov esi, eax
test esi, esi
jne 0x40ab93
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], ecx
cmp byte [esi + 0x19], 0
je 0x40ab8c
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
cmovge eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x40ab8c
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + ecx*4]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x40aa0e
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
push 0
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x40ab93
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x40aa27
call fcn.004083cf
mov esi, eax
test esi, esi
jne 0x40ab93
mov esi, dword [ebp + 8]
and dword [ebp - 0x28], 0
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x3c]
mov byte [ebp - 4], 4
call fcn.00409ca3
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x40ab79
test esi, esi
jne 0x40aa54
jmp 0x40ab36
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x30], 0
je 0x40aa80
push dword [ecx + 0x38]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
push edx
push dword [ecx + 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x40aaca
and dword [ebp - 0x20], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push 0x41e570
push esi
mov byte [ebp - 4], 7
call dword [eax]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40ab72
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push dword [edx + 0x34]
push eax
call dword [ecx + 0xc]
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x40aac6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
push ecx
push 0
push 0
push esi
mov ecx, ebx
call fcn.0040b15a
test eax, eax
jne 0x40ab6d
mov eax, dword [ebp - 0x14]
cmp eax, 1
jne 0x40ab53
cmp byte [ebx + 0x7b], 0
je 0x40aaf5
mov byte [ebp - 0xd], al
test byte [ebx + 0x7c], al
je 0x40aaf9
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x24], 0
jne 0x40ab2c
cmp dword [ebp - 0x1c], 1
jne 0x40ab2c
mov eax, dword [ebx + 0x3c]
lea ecx, [ebx + 0xa8]
mov dword [ebx + 0x84], eax
lea eax, [ebx + 0x78]
push eax
call fcn.00409a30
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1a], 0
jne 0x40ab2c
cmp byte [ebp - 0xd], 0
jne 0x40ab4e
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0xe
call dword [eax + 8]
mov ecx, dword [ebp - 0x24]
inc ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x18]
jae 0x40ab8c
mov esi, dword [ebp + 8]
jmp 0x40a9e5
xor eax, eax
inc eax
jmp 0x40ab6d
test eax, eax
jne 0x40ab79
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx]
test ecx, ecx
je 0x40ab69
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], esi
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x40ab79
mov dword [ebp - 0x14], 0x80004001
mov byte [ebp - 4], 0x10
test esi, esi
je 0x40ab87
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x14]
jmp 0x40ab93
xor esi, esi
cmp dword [ebx], esi
jne 0x40ab93
inc esi
push edi
call fcn.0041a062
push dword [ebp - 0x50]
call fcn.0041a062
push dword [ebp - 0x5c]
call fcn.0041a062
push dword [ebp - 0x68]
call fcn.0041a062
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4