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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58aec9
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x954], 0
je 0x56f7e5
mov ecx, dword [0x6c1344]
push 1
push 0
call fcn.00575060
mov ecx, dword [ebx + 0x960]
test ecx, ecx
je 0x56f3c0
lea eax, [ebx + 0xa09]
push eax
call fcn.0045af20
mov ecx, dword [ebx + 0x958]
test ecx, ecx
je 0x56f7e5
add ecx, 0x934
call fcn.00480e60
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 0x56f7e5
push esi
mov esi, dword [ebx + 0x2284]
push edi
mov dword [ebp - 0x18], esi
cmp esi, dword [ebx + 0x2288]
jge 0x56f785
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]
jmp 0x56f460
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 0x56f488
push 8
mov ecx, eax
call fcn.00450940
mov esi, eax
jmp 0x56f48a
xor esi, esi
cmp dword [edi - 0x32], 1
mov dword [ebp - 4], 0xffffffff
jne 0x56f4a6
mov ecx, dword [0x6c14ec]
lea eax, [edi - 0x26]
push eax
call fcn.00523860
mov ecx, dword [edi - 0x32]
cmp ecx, 3
jg 0x56f4d8
push 8
lea eax, [esi + 0x14]
push eax
lea eax, [ecx + 0x1c]
mov ecx, 0x6d0898
push eax
call fcn.004553e0
mov eax, dword [esi + 4]
push 0x5947a0
push dword [eax]
mov eax, dword [sym.imp.MSVCR120.dll_sprintf]
call eax
add esp, 8
jmp 0x56f509
cmp ecx, 8
jg 0x56f4f4
push 8
lea eax, [esi + 0x14]
mov ecx, 0x6d0898
push eax
push 0x20
call fcn.004553e0
push dword [edi - 0x32]
jmp 0x56f4f5
push ecx
mov eax, dword [esi + 4]
push 0x591888
push dword [eax]
mov eax, dword [sym.imp.MSVCR120.dll_sprintf]
call eax
add esp, 0xc
cmp dword [edi - 4], 0
jle 0x56f525
push 8
lea eax, [esi + 0x34]
mov ecx, 0x6d0898
push eax
push 0x66
call fcn.004553e0
cmp dword [edi - 4], 0
jne 0x56f539
push 8
lea eax, [esi + 0x34]
mov ecx, 0x6d0898
push eax
push 0x21
call fcn.004553e0
cmp dword [edi - 4], 0
jge 0x56f551
push 8
lea eax, [esi + 0x34]
mov ecx, 0x6d0898
push eax
push 0x67
call fcn.004553e0
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 0x56f57f
push 8
lea eax, [esi + 0x54]
mov ecx, 0x6d0898
push eax
push 0x22
call fcn.004553e0
cmp dword [edi], 0x41
jne 0x56f596
push 8
lea eax, [esi + 0x54]
mov ecx, 0x6d0898
push eax
push 0x22
call fcn.004553e0
cmp dword [edi], 0x80
jne 0x56f5b0
push 8
lea eax, [esi + 0x54]
mov ecx, 0x6d0898
push eax
push 0x23
call fcn.004553e0
cmp dword [edi], 0x81
jne 0x56f5ca
push 8
lea eax, [esi + 0x54]
mov ecx, 0x6d0898
push eax
push 0x23
call fcn.004553e0
cmp dword [edi], 0
jne 0x56f5e1
push 8
lea eax, [esi + 0x54]
mov ecx, 0x6d0898
push eax
push 0x21
call fcn.004553e0
mov eax, dword [esi + 4]
push 0x5947a0
push dword [eax + 8]
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 8
cmp dword [edi - 0x2e], 0
je 0x56f674
mov eax, dword [0x6c11fc]
test al, 1
jne 0x56f631
or eax, 1
mov dword [0x6c11fc], eax
mov ecx, 0x6c11d0
mov dword [ebp - 4], 1
call fcn.00514ce0
push 0x58b240
call fcn.005838e3
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [edi - 0x2e]
mov ecx, 0x6c11d0
call fcn.00514e60
test eax, eax
je 0x56f674
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x56f674
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
mov eax, dword [esi + 4]
push 0x5947a0
push dword [eax + 0xc]
call dword [sym.imp.MSVCR120.dll_sprintf]
mov eax, dword [edi - 0x32]
add esp, 8
cmp eax, 0xa
jg 0x56f6e8
cmp eax, 3
jg 0x56f6bd
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 0x56f6e2
cmp eax, 8
jg 0x56f6e8
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 0x591888
push dword [eax + 0x14]
call dword [sym.imp.MSVCR120.dll_sprintf]
push dword [edi + 8]
mov eax, dword [esi + 4]
push 0x591888
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.00481010
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 0x56f460
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
mov ecx, dword [ebx]
push 0
mov eax, dword [ecx]
call dword [eax + 8]
lea ebx, [ebx + 4]
dec edi
jne 0x56f7b8
cmp dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x14]
je 0x56f7d0
inc esi
test esi, esi
jle 0x56f7e3
mov ecx, dword [edi]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
lea edi, [edi + 4]
dec esi
jne 0x56f7d4
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret