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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6269
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6dd8d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x954], 0
je 0x58465f
mov ecx, dword [0x6f1e2c]
push 1
push 0
call fcn.0058a310
mov ecx, dword [ebx + 0x960]
test ecx, ecx
je 0x58422c
lea eax, [ebx + 0xa09]
push eax
call fcn.00464070
mov ecx, dword [ebx + 0x958]
test ecx, ecx
je 0x58465f
add ecx, 0x934
call fcn.0048b7d0
mov eax, dword [ebx + 0x958]
mov dword [eax + 0x9e8], 1
mov eax, dword [ebx + 0x958]
mov dword [eax + 0x9ec], 1
mov eax, dword [ebx + 0x958]
mov dword [eax + 0x9e4], 4
cmp word [ebx + 0xa05], 0
je 0x58465f
mov esi, dword [ebx + 0x2284]
mov dword [ebp - 0x18], esi
cmp esi, dword [ebx + 0x2288]
jge 0x5845f6
mov eax, esi
lea edi, [ebx + 0xa7b]
shl eax, 4
sub eax, esi
lea eax, [eax*4 + 0x64]
mov dword [ebp - 0x14], eax
lea eax, [esi + 2]
imul eax, eax, 0x3200
mov dword [ebp - 0x10], eax
mov eax, esi
shl eax, 5
sub eax, esi
lea edi, [edi + eax*2]
push 0xa64
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5842ed
push 8
mov ecx, eax
call fcn.00459090
mov esi, eax
jmp 0x5842ef
xor esi, esi
cmp dword [edi - 0x32], 1
mov dword [ebp - 4], 0xffffffff
jne 0x58430b
mov ecx, dword [0x6f1fd4]
lea eax, [edi - 0x26]
push eax
call fcn.00583910
mov ecx, dword [edi - 0x32]
cmp ecx, 3
jg 0x58433d
push 8
lea eax, [esi + 0x14]
push eax
lea eax, [ecx + 0x1c]
mov ecx, 0x701358
push eax
call fcn.0045dde0
mov eax, dword [esi + 4]
push 0x5c9c13
push dword [eax]
mov eax, dword [sym.imp.MSVCR120.dll_sprintf]
call eax
add esp, 8
jmp 0x584373
cmp ecx, 8
jg 0x58435e
push 8
lea eax, [esi + 0x14]
mov ecx, 0x701358
push eax
push 0x20
call fcn.0045dde0
push dword [edi - 0x32]
push 0x5c9c14
jmp 0x584364
push ecx
push 0x5c9c18
mov eax, dword [esi + 4]
push dword [eax]
mov eax, dword [sym.imp.MSVCR120.dll_sprintf]
call eax
add esp, 0xc
cmp dword [edi - 4], 0
jle 0x58438f
push 8
lea eax, [esi + 0x34]
mov ecx, 0x701358
push eax
push 0x66
call fcn.0045dde0
cmp dword [edi - 4], 0
jne 0x5843a3
push 8
lea eax, [esi + 0x34]
mov ecx, 0x701358
push eax
push 0x21
call fcn.0045dde0
cmp dword [edi - 4], 0
jge 0x5843bb
push 8
lea eax, [esi + 0x34]
mov ecx, 0x701358
push eax
push 0x67
call fcn.0045dde0
push dword [edi - 4]
mov eax, dword [esi + 4]
push str.___d
push dword [eax + 4]
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp dword [edi], 0x40
jne 0x5843e9
push 8
lea eax, [esi + 0x54]
mov ecx, 0x701358
push eax
push 0x22
call fcn.0045dde0
cmp dword [edi], 0x41
jne 0x584400
push 8
lea eax, [esi + 0x54]
mov ecx, 0x701358
push eax
push 0x22
call fcn.0045dde0
cmp dword [edi], 0x80
jne 0x58441a
push 8
lea eax, [esi + 0x54]
mov ecx, 0x701358
push eax
push 0x23
call fcn.0045dde0
cmp dword [edi], 0x81
jne 0x584434
push 8
lea eax, [esi + 0x54]
mov ecx, 0x701358
push eax
push 0x23
call fcn.0045dde0
cmp dword [edi], 0
jne 0x58444b
push 8
lea eax, [esi + 0x54]
mov ecx, 0x701358
push eax
push 0x21
call fcn.0045dde0
mov eax, dword [esi + 4]
push 0x5c9c17
push dword [eax + 8]
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 8
cmp dword [edi - 0x2e], 0
jne 0x58446c
push 0x5c9c21
jmp 0x5844ea
mov eax, dword [0x6f1ce4]
test al, 1
jne 0x5844a2
or eax, 1
mov dword [0x6f1ce4], eax
mov ecx, 0x6f1cb8
mov dword [ebp - 4], 1
call fcn.005266a0
push 0x5a6ba0
call fcn.00599775
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [edi - 0x2e]
mov ecx, 0x6f1cb8
call fcn.005268c0
test eax, eax
je 0x5844e5
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x5844e5
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [esi + 0x78], eax
mov eax, dword [ecx + 8]
movdqu xmm0, xmmword [eax + 8]
movdqu xmmword [esi + 0x7c], xmm0
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x8c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x90], eax
push 0x5c9c1b
mov eax, dword [esi + 4]
push dword [eax + 0xc]
call dword [sym.imp.MSVCR120.dll_sprintf]
mov eax, dword [edi - 0x32]
add esp, 8
cmp eax, 0xa
jg 0x584559
cmp eax, 3
jg 0x58452e
mov ecx, dword [ebx + 0x894]
mov eax, 0x51eb851f
imul ecx, dword [ebx + 0x890]
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [ebp - 0x10]
or edx, dword [ebp - 0x14]
or edx, 0xff0000
jmp 0x584553
cmp eax, 8
jg 0x584559
mov ecx, dword [ebx + 0x894]
mov eax, 0x51eb851f
imul ecx, dword [ebx + 0x890]
mul ecx
shr edx, 5
shl edx, 0x18
or edx, 0xf9fce1
mov eax, dword [esi + 8]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 8]
mov dword [eax + 0x14], 0xfffffacd
mov eax, dword [esi + 8]
mov dword [eax + 0x18], 0xfffffacd
mov eax, dword [esi + 8]
mov dword [eax + 0x1c], 0xffffffff
lea eax, [edi - 0x26]
push eax
mov eax, dword [esi + 4]
push dword [eax + 0x10]
call dword [sym.imp.MSVCR120.dll_sprintf]
push dword [edi + 4]
mov eax, dword [esi + 4]
push 0x5c9c24
push dword [eax + 0x14]
call dword [sym.imp.MSVCR120.dll_sprintf]
push dword [edi + 8]
mov eax, dword [esi + 4]
push 0x5c9c28
push dword [eax + 0x18]
call dword [sym.imp.MSVCR120.dll_sprintf]
lea eax, [edi - 0x15]
push eax
mov eax, dword [esi + 4]
push dword [eax + 0x1c]
call dword [sym.imp.MSVCR120.dll_sprintf]
mov ecx, dword [ebx + 0x958]
add esp, 0x28
add ecx, 0x934
push esi
mov esi, dword [ebp - 0x18]
push esi
call fcn.0048b9e0
add dword [ebp - 0x10], 0x3200
inc esi
add dword [ebp - 0x14], 0x3c
add edi, 0x3e
mov dword [ebp - 0x18], esi
cmp esi, dword [ebx + 0x2288]
jl 0x5842c5
movzx ecx, word [ebx + 0xa05]
lea edi, [ebx + 0x984]
mov eax, 0x66666667
mov dword [ebp - 0x14], edi
imul ecx
mov ebx, edi
mov edi, 5
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
lea eax, [esi + esi*4]
shl eax, 2
sub ecx, eax
mov dword [ebp - 0x18], ecx
lea esp, [esp]
mov ecx, dword [ebx]
push 0
mov eax, dword [ecx]
call dword [eax + 8]
lea ebx, [ebx + 4]
dec edi
jne 0x584630
cmp dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x14]
je 0x584648
inc esi
test esi, esi
jle 0x58465f
lea esp, [esp]
mov ecx, dword [edi]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
lea edi, [edi + 4]
dec esi
jne 0x584650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret