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

Disassembly:
push 0xffffffffffffffff
push 0x419182
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
mov eax, dword [esp + 0x1dc]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 4]
mov dword [esp + 0x20], ebx
lea edx, [ecx + 0x14]
cmp edx, esi
je 0x407a6e
xor eax, eax
jmp 0x407dc1
lea esi, [eax + 0x14]
mov dword [esp + 0x1c], esi
mov al, byte [ecx + esi - 1]
test al, al
je 0x407a84
xor eax, eax
jmp 0x407dc1
push ebp
push edi
push 0
push 0x19
push 0x1000
mov dword [esp + 0x28], 0x1000
mov edi, 0x18
call fcn.00417270
mov ebp, eax
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x68]
mov dword [esp + 0x14], ebp
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x14], eax
call fcn.00405720
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1e4], 0
call fcn.00416770
lea ecx, [esp + 0x50]
mov byte [esp + 0x1e4], 1
call fcn.00416770
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e4], 2
call fcn.00416770
push 0x104
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e8], 3
call fcn.004167c0
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x1e8], 4
call fcn.00416780
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push eax
push 0x4000
push ebx
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x1f4], 5
call fcn.00405850
test eax, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e4], 4
sete bl
call fcn.004167e0
test bl, bl
je 0x407d62
mov dword [ebp + 0xc], 1
mov edi, dword [esp + 0x2c]
test edi, edi
jne 0x407b6f
mov edi, 0x41eae8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [ebp + 0x14], ecx
mov esi, dword [esp + 0x2c]
lea edx, [ecx + 0x18]
test esi, esi
mov dword [esp + 0x18], edx
jne 0x407b8f
mov esi, 0x41eae8
mov eax, ecx
lea edi, [ebp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x14]
lea esi, [ecx + ebp + 0x18]
mov dword [esp + 0x10], esi
mov edi, 0x41d2fc
lea eax, [esp + 0x94]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x407bdf
test cl, cl
je 0x407bdb
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x407bdf
add eax, 2
add edi, 2
test cl, cl
jne 0x407bb7
xor eax, eax
jmp 0x407be4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407d4d
mov edi, 0x41d2f8
lea eax, [esp + 0x94]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x407c20
test cl, cl
je 0x407c1c
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x407c20
add eax, 2
add edi, 2
test cl, cl
jne 0x407bf8
xor eax, eax
jmp 0x407c25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407d4d
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1c8]
not ecx
dec ecx
mov ebp, ecx
inc ebp
test eax, eax
je 0x407c5d
mov ecx, dword [eax + 4]
mov dl, byte [ecx + eax + 0xd]
test dl, dl
je 0x407c5d
mov ebx, dword [eax + 8]
inc ebx
mov edx, dword [esp + 0x18]
lea eax, [ebx + ebp]
mov dword [esp + 0x20], eax
lea ecx, [edx + eax + 0x10]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
mov dword [esp + 0x18], ecx
jle 0x407c9c
mov edi, dword [esp + 0x14]
add eax, 0x1000
push eax
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCRT.dll_realloc]
mov dword [esp + 0x1c], eax
sub eax, edi
add esp, 8
add esi, eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x1ac]
mov dword [esi], eax
mov ecx, dword [esp + 0x88]
mov dword [esi + 4], ecx
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
mov eax, dword [esp + 0x1ac]
test ah, 6
je 0x407cee
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x94]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.00416dc0
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00407470
mov ecx, dword [esi]
shl eax, 0x13
or ecx, eax
mov dword [esi], ecx
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x94]
lea edi, [eax + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
je 0x407d32
mov edx, dword [esp + 0x1c8]
mov ecx, ebx
lea edi, [eax + ebp + 0x10]
mov esi, dword [edx + 4]
lea esi, [esi + edx + 0xd]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov ebp, eax
mov ecx, dword [eax + 0x10]
mov esi, edx
inc ecx
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x68]
call fcn.00405ae0
test eax, eax
jne 0x407bab
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [ebp + 4], edi
mov byte [esp + 0x1e4], 3
call fcn.004167e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e4], 2
call fcn.004167e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x1e4], 1
call fcn.004167e0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1e4], 0
call fcn.004167e0
lea ecx, [esp + 0x68]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.004057c0
mov eax, ebp
pop edi
pop ebp
mov ecx, dword [esp + 0x1d4]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d8
ret 4