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

Disassembly:
sub esp, 0x85c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x86c]
test esi, esi
push edi
je 0x57a8ca
mov ecx, dword [0x56c988]
mov eax, dword [esi + 0x54]
push ecx
push eax
call fcn.00577b20
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x57a4b3
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x85c
ret 0x14
mov eax, dword [esp + 0x874]
test eax, eax
je 0x57a8ca
mov eax, dword [esp + 0x878]
test eax, eax
je 0x57a8ca
mov eax, dword [esp + 0x87c]
test eax, eax
je 0x57a8ca
mov eax, dword [esp + 0x880]
test eax, eax
je 0x57a8ca
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x22c]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x3bc]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x9c]
mov dword [esp + 0x2c], edx
push 0x40
rep stosd dword es:[edi], eax
mov dword [esp + 0x34], edx
xor ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], ecx
push edx
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x64], ecx
call fcn.005764d0
test ax, ax
jne 0x57a8ce
mov al, byte [esp + 0x5c]
test al, al
jne 0x57a5b7
mov eax, dword [0x5684d8]
mov ecx, dword [0x5684dc]
mov edx, dword [0x5684e0]
mov dword [esp + 0x5c], eax
mov ax, word [0x5684e4]
mov dword [esp + 0x60], ecx
mov cl, byte [0x5684e6]
mov dword [esp + 0x64], edx
mov word [esp + 0x68], ax
mov byte [esp + 0x6a], cl
push 0x280
lea edx, [esp + 0x54]
push 0x5692bc
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x5c]
push eax
push ecx
push 2
push 0x5692b4
call fcn.005803f0
mov edx, eax
add esp, 0x1c
test edx, edx
jne 0x57a603
push ebp
push 0x4a
call fcn.00576b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x3bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov ebx, dword [sym.imp.MSVCRT.dll_free]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c0]
push ecx
push edx
push 0x5693a0
push 3
push 0x5691b0
call fcn.005803f0
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x57a671
push ebp
push 0x4a
call fcn.00576b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0xa0]
push ecx
call fcn.005804d0
mov edx, eax
add esp, 8
test edx, edx
jne 0x57a6ce
push ebp
push 0x4a
call fcn.00576b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x230]
lea edx, [esp + 0xa0]
push ecx
push ebp
push edx
call fcn.0057d7a0
add esp, 0x10
test ax, ax
je 0x57a732
push ebp
push eax
call fcn.00576a80
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
lea eax, [esp + 0x22c]
push eax
call fcn.005801c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x57a760
push ebp
push 0x42
call fcn.00576b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
lea ecx, [esp + 0x22c]
lea edx, [esp + 0x6dc]
push ecx
lea eax, [esp + 0x550]
push edx
push eax
push esi
push 3
push 0x5691b0
call fcn.00580020
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x57a7aa
push ebp
push 0x42
call fcn.00576b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
push 0
call ebx
add esp, 4
mov esi, 0x5692ac
lea eax, [esp + 0x54c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x57a7e5
test cl, cl
je 0x57a7e1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x57a7e5
add eax, 2
add esi, 2
test cl, cl
jne 0x57a7bd
xor eax, eax
jmp 0x57a7ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x57a813
lea eax, [esp + 0x6dc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
push ebp
push eax
call fcn.00576b50
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
lea ecx, [esp + 0x14]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x238]
push ecx
push edx
push 4
push 0x5692b4
call fcn.00580020
add esp, 0x1c
test ax, ax
je 0x57a85b
push ebp
push 0x42
call fcn.00576b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
lea eax, [esp + 0x44]
push eax
call esi
mov ecx, dword [esp + 0x878]
lea edx, [esp + 0x24]
push edx
mov byte [ecx], al
call esi
mov ecx, dword [esp + 0x880]
lea edx, [esp + 0x40]
push edx
mov byte [ecx], al
call esi
mov ecx, dword [esp + 0x888]
lea edx, [esp + 0x20]
push edx
mov byte [ecx], al
call esi
mov ecx, dword [esp + 0x890]
lea esi, [ebp + 0x68]
push esi
mov byte [ecx], al
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.00576b50
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14