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

Disassembly:
push 0xffffffffffffffff
push 0x5a8f2e
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x84], 0x685cea
mov dword [esp + 0x88], 0x685ceb
mov dword [esp + 0x8c], 0x685cec
mov dword [esp + 0x90], 0x685ced
mov dword [esp + 0x94], 0x685cee
mov dword [esp + 0x98], 0x685cef
mov dword [esp + 0x9c], 0x685cf0
mov dword [esp + 0xa0], 0x685ce8
mov dword [esp + 0x64], 0x13
mov dword [esp + 0x68], 0x14
mov dword [esp + 0x6c], 0x15
mov dword [esp + 0x70], 0x16
mov dword [esp + 0x74], 0x17
mov dword [esp + 0x78], 9
mov dword [esp + 0x7c], 0x85
mov dword [esp + 0x80], 8
mov dword [esp + 0x24], 0x2c8
mov dword [esp + 0x28], 0x2be
mov dword [esp + 0x2c], 0x32c
mov dword [esp + 0x30], 0x322
mov dword [esp + 0x34], 0x38f
mov dword [esp + 0x38], 0x386
mov dword [esp + 0x3c], 0x3f4
mov dword [esp + 0x40], 0x3ea
mov dword [esp + 0x44], 0x458
mov dword [esp + 0x48], 0x44e
mov dword [esp + 0x4c], 0x456
mov dword [esp + 0x50], 0x44c
mov dword [esp + 0x54], 0x3d
mov dword [esp + 0x58], 0x3c
mov dword [esp + 0x5c], 0x7dd
mov dword [esp + 0x60], esi
mov byte [esp + 0x16], 1
mov byte [esp + 0x17], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov ebp, dword [esp + esi + 0x84]
cmp byte [ebp], 0
je 0x582ca0
mov eax, dword [esp + esi + 0x64]
push eax
mov ecx, 0x695080
call fcn.00421ac0
test al, al
jne 0x582ca0
xor eax, eax
xor esi, esi
lea edi, [esp + 0x24]
lea esp, [esp]
test eax, eax
jne 0x582b6b
test edi, edi
je 0x582b6b
lea ecx, [ebx + esi]
movzx edx, word [esp + ecx*4 + 0x24]
push edx
mov ecx, 0x69e1e8
call fcn.00491dd0
inc esi
add edi, 8
cmp esi, 2
jl 0x582b50
test eax, eax
je 0x582b82
mov byte [esp + 0x16], 0
jmp 0x582c9c
lea eax, [esp + 0xa4]
push 0x5c47b0
push eax
mov byte [ebp], 0
mov byte [esp + 0x1f], 1
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
xor ebp, ebp
xor edi, edi
lea ebx, [esp + 0x24]
lea esp, [esp]
test ebx, ebx
je 0x582c74
test byte [0x6932a8], 1
jne 0x582bf5
or dword [0x6932a8], 1
mov ecx, 0x693138
mov dword [esp + 0x1b0], 0
call fcn.0053ef00
push 0x5aa6a0
call fcn.005998a5
add esp, 4
mov dword [esp + 0x1b0], 0xffffffff
mov ecx, dword [esp + 0x1c]
add ecx, edi
movzx edx, word [esp + ecx*4 + 0x24]
push edx
mov ecx, 0x693138
call fcn.0053d410
mov esi, eax
test esi, esi
je 0x582c74
test ebp, ebp
je 0x582c3f
lea eax, [esp + 0xa4]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x582c20
sub eax, edx
lea eax, [esp + eax + 0xa4]
push str.____:
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
lea eax, [esp + 0xa4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x582c50
add esi, 0x1e
sub eax, edx
push esi
lea ecx, [esp + eax + 0xa8]
push 0x5c47ac
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
inc ebp
inc edi
add ebx, 8
cmp edi, 2
jl 0x582bb0
lea edx, [esp + 0xa4]
push edx
push 0x1a
push 0x6a0f60
call fcn.004d8020
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov esi, dword [esp + 0x18]
add esi, 4
add ebx, 2
cmp esi, 0x20
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
jl 0x582b1c
cmp byte [esp + 0x17], 0
je 0x582cc9
mov ecx, dword [0x6938e0]
call fcn.004d4ea0
cmp byte [esp + 0x16], 0
je 0x582cd7
mov al, 1
jmp 0x582d74
mov eax, dword [0x6a01bc]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x30], eax
jg 0x582d72
add eax, 0x3e8
xor ebp, ebp
mov dword [ecx + 0x30], eax
xor ebx, ebx
jmp 0x582d00
mov eax, dword [esp + ebx + 0x84]
cmp byte [eax], 0
je 0x582d4f
mov ecx, dword [esp + ebx + 0x64]
push ecx
mov ecx, 0x695080
call fcn.00421ac0
test al, al
jne 0x582d4f
xor eax, eax
xor esi, esi
lea edi, [esp + 0x24]
test eax, eax
jne 0x582d42
test edi, edi
je 0x582d42
lea edx, [esi + ebp]
movzx eax, word [esp + edx*4 + 0x24]
push eax
mov ecx, 0x69e1e8
call fcn.00491dd0
inc esi
add edi, 8
cmp esi, 2
jl 0x582d27
test eax, eax
jne 0x582d5c
add ebx, 4
add ebp, 2
cmp ebx, 0x20
jl 0x582d00
jmp 0x582d72
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x78]
call eax
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00582330
xor al, al
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.005997a8
add esp, 0x1a0
ret