Function at 0x585d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a90ab
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x208]
mov esi, ecx
mov ecx, dword [esi + 0x2a0]
push 0x5af25f
call fcn.0043a3d0
mov ecx, dword [esi + 0x2a4]
push 0x5af25f
call fcn.0043a3d0
mov ecx, dword [esi + 0x2a8]
push 0x5af25f
call fcn.0043a3d0
mov ecx, dword [esi + 0x2ac]
push 0x5af25f
call fcn.0043a3d0
mov ecx, dword [esi + 0x2b0]
push 0x5af25f
call fcn.0043a3d0
mov ecx, dword [esi + 0x2b4]
push 0x5af25f
call fcn.0043a3d0
mov ecx, dword [esi + 0x2b8]
push 0x5af25f
call fcn.0043a3d0
lea ecx, [esp + 0x14]
call fcn.00429880
mov ecx, dword [edi + 0x14]
lea eax, [esp + 0x14]
push eax
push ecx
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x208], ebp
call fcn.00585cb0
mov ecx, dword [esi + 0x29c]
mov edx, dword [esp + 0x18]
lea eax, [ecx + 0x218]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.MSVCR90.dll__itoa]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x1c], edx
mov dword [ecx + 0x238], eax
mov ecx, dword [edi + 8]
push 0xa
lea eax, [esp + 0xf8]
push eax
push ecx
mov dword [esp + 0x100], ebp
call ebx
mov ecx, dword [esi + 0x2a0]
add esp, 0xc
lea edx, [esp + 0xf4]
push edx
call fcn.0043a3d0
mov ecx, dword [edi + 0xc]
push 0xa
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x40], ebp
call ebx
mov eax, 0x10624dd3
mul dword [edi + 0xc]
mov ecx, edx
shr ecx, 6
mov eax, 0x88888889
mul ecx
shr edx, 5
mov eax, edx
add esp, 0xc
shl eax, 4
sub eax, edx
add eax, eax
add eax, eax
sub ecx, eax
push ecx
push edx
push 0x770
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esi + 0x2a4]
add esp, 0x10
lea edx, [esp + 0x34]
push edx
call fcn.0043a3d0
mov ecx, dword [edi + 0x10]
push 0xa
lea eax, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x80], ebp
call ebx
mov ecx, dword [esi + 0x2a8]
add esp, 0xc
lea edx, [esp + 0x74]
push edx
call fcn.0043a3d0
mov ecx, dword [edi + 0x18]
push 0xa
lea eax, [esp + 0x178]
push eax
push ecx
mov dword [esp + 0x180], ebp
call ebx
mov ecx, dword [esi + 0x2ac]
add esp, 0xc
lea edx, [esp + 0x174]
push edx
call fcn.0043a3d0
mov ecx, dword [edi + 0x1c]
push 0xa
lea eax, [esp + 0xb8]
push eax
push ecx
mov dword [esp + 0xc0], ebp
call ebx
mov ecx, dword [esi + 0x2b0]
add esp, 0xc
lea edx, [esp + 0xb4]
push edx
call fcn.0043a3d0
mov ecx, dword [edi + 0x20]
push 0xa
lea eax, [esp + 0x138]
push eax
push ecx
mov dword [esp + 0x140], ebp
call ebx
mov ecx, dword [esi + 0x2b4]
add esp, 0xc
lea edx, [esp + 0x134]
push edx
call fcn.0043a3d0
movzx eax, word [edi + 0x24]
mov dword [esp + 0x1b4], ebp
cmp ax, bp
je 0x586042
push eax
mov ecx, 0x69fe70
call fcn.004ae980
cmp eax, ebp
je 0x586042
mov ecx, dword [edi + 0x26]
push ecx
add eax, 2
push eax
lea edx, [esp + 0x1bc]
push str._s____d
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esi + 0x2b8]
add esp, 0x10
lea eax, [esp + 0x1b4]
push eax
call fcn.0043a3d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x200], 0xffffffff
call fcn.00429890
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.005997a8
add esp, 0x1f0
ret 4