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

Disassembly:
mov eax, 0x41d226
call fcn.00419e78
sub esp, 0x5c
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx]
test ecx, ecx
je 0x40a7bd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx], 0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x40a7ce
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx + 8], 0
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x40a7df
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx + 0xc], 0
lea ecx, [ebx + 0x78]
call fcn.00409c8a
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.004043d8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004032e0
push 0x2e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00403a24
test eax, eax
js 0x40a83a
mov ecx, dword [ebp - 0x68]
add ecx, 2
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004033d9
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.004096d8
mov eax, dword [esi]
xor ecx, ecx
mov edi, dword [ebp - 0x34]
mov byte [ebp - 4], 3
cmp dword [eax + 0xc], ecx
jbe 0x40a879
mov byte [ecx + edi], 0
inc ecx
mov eax, dword [esi]
cmp ecx, dword [eax + 0xc]
jb 0x40a86d
cmp byte [esi + 0x1e], 0
je 0x40a88d
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x2c], edx
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x30], edx
jmp 0x40a898
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x800000
mov ecx, dword [esi + 8]
mov dword [ebp - 0x24], ecx
test ecx, ecx
js 0x40a8c7
push ecx
lea ecx, [ebp - 0x50]
call fcn.00409a9e
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 0x40a98a
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
cmp dword [eax + 0xc], ecx
jbe 0x40a95e
cmp byte [ebx + 0x17], 0
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x28], eax
jne 0x40a8ef
cmp byte [esi + 0x19], 0
jne 0x40a900
mov ecx, dword [eax + 0x10]
mov edx, str.Split
call fcn.00403c7d
test al, al
jne 0x40a947
mov ecx, dword [esi + 0x2c]
push dword [ecx + 4]
push 0
push dword [ebp - 0x14]
call fcn.00409d2d
test eax, eax
jns 0x40a947
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x5c]
push eax
call fcn.004094c5
lea ecx, [ebp - 0x50]
push dword [ebp - 0x14]
test eax, eax
js 0x40a942
push dword [ebp - 0x1c]
call fcn.0040a08b
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x1c], edx
mov byte [ecx + edi], 1
jmp 0x40a94d
call fcn.00409a9e
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 0x40a8da
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
lea eax, [esi + 0x30]
cmp dword [eax], 0
jne 0x40a980
cmp edx, 1
je 0x40a975
mov esi, 0x80004001
jmp 0x40aba4
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x4c], ecx
jmp 0x40a987
mov dword [ebp - 0x1c], ecx
test edx, edx
je 0x40a98a
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 0x40a9c4
mov ecx, eax
call fcn.004083df
mov esi, eax
test esi, esi
jne 0x40aba4
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x3c]
call fcn.004082a2
mov esi, eax
test esi, esi
jne 0x40aba4
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 0x40ab9d
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 0x40ab9d
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 0x40aa1e
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 0x40aba4
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x40aa37
call fcn.004083df
mov esi, eax
test esi, esi
jne 0x40aba4
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.00409cb3
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x40ab8a
test esi, esi
je 0x40ab47
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x30], 0
je 0x40aa8f
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 0x40aad9
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 0x40ab83
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 0x40aad5
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.0040b16b
test eax, eax
jne 0x40ab7e
mov eax, dword [ebp - 0x14]
cmp eax, 1
jne 0x40ab64
cmp byte [ebx + 0x7b], 0
je 0x40ab04
mov byte [ebp - 0xd], al
test byte [ebx + 0x7c], al
je 0x40ab08
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x24], 0
jne 0x40ab3b
cmp dword [ebp - 0x1c], 1
jne 0x40ab3b
mov eax, dword [ebx + 0x3c]
lea ecx, [ebx + 0xa8]
mov dword [ebx + 0x84], eax
lea eax, [ebx + 0x78]
push eax
call fcn.00409a43
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1a], 0
jne 0x40ab3b
cmp byte [ebp - 0xd], 0
jne 0x40ab5f
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0xe
call dword [eax + 8]
jmp 0x40ab47
mov ecx, dword [ebp - 0x24]
inc ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x18]
jae 0x40ab9d
mov esi, dword [ebp + 8]
jmp 0x40a9f5
xor eax, eax
inc eax
jmp 0x40ab7e
test eax, eax
jne 0x40ab8a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx]
test ecx, ecx
je 0x40ab7a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], esi
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x40ab8a
mov dword [ebp - 0x14], 0x80004001
mov byte [ebp - 4], 0x10
test esi, esi
je 0x40ab98
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x14]
jmp 0x40aba4
xor esi, esi
cmp dword [ebx], esi
jne 0x40aba4
inc esi
push edi
call fcn.00419e72
push dword [ebp - 0x50]
call fcn.00419e72
push dword [ebp - 0x5c]
call fcn.00419e72
push dword [ebp - 0x68]
call fcn.00419e72
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