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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101b494b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x10415990]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x10056efc
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10056efc
mov ecx, dword [esi + 8]
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x34], edi
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 0x2020]
xor ecx, ecx
mov dword [esp + 0x48], edi
mov edi, dword [edx + 0x2020]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x1c], ecx
cmp dword [eax], ecx
jle 0x10056ee2
jmp 0x10056c75
mov edx, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
imul edi, dword [eax + 4]
imul edi, ecx
imul edi, dword [eax + 8]
mov ecx, dword [esp + 0x48]
lea ecx, [ecx + edi*4]
mov edi, dword [edx + 8]
imul edi, dword [edx + 0xc]
imul edi, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
imul edi, dword [edx + 4]
cmp byte [esi + 0x2070], 0
mov edx, dword [esp + 0x4c]
lea edx, [edx + edi*4]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
jne 0x10056d47
mov edx, dword [ebx + 0x2c]
cmp edx, 1
jne 0x10056d04
cmp dword [ebx + 0x30], edx
jne 0x10056d04
mov eax, dword [esi + 0x2030]
push eax
mov eax, dword [ebx + 0x34]
push edx
push edx
mov edx, dword [ebx + 0x24]
push eax
mov eax, dword [ebx + 0x28]
push edx
mov edx, dword [esi + 0x2058]
push eax
mov eax, dword [esi + 0x2050]
push edx
push eax
mov eax, dword [ebx + 0x38]
push ecx
mov ecx, dword [esi + 0x2054]
call fcn.100583b0
mov ecx, dword [esi + 0x2030]
mov dword [esp + 0x18], ecx
jmp 0x10056d44
mov eax, dword [esi + 0x2030]
push eax
mov eax, dword [ebx + 0x34]
push edx
mov edx, dword [ebx + 0x30]
push edx
mov edx, dword [ebx + 0x38]
push eax
mov eax, dword [ebx + 0x24]
push edx
mov edx, dword [ebx + 0x28]
push eax
mov eax, dword [esi + 0x2058]
push edx
mov edx, dword [esi + 0x2054]
push eax
mov eax, dword [esi + 0x2050]
push edx
push ecx
call fcn.10058150
mov eax, dword [esi + 0x2030]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [ebx + 0x18], edi
jle 0x10056e4c
mov ecx, dword [esi + 0x206c]
mov edx, dword [esp + 0x24]
imul ecx, edi
lea eax, [edx + ecx*4]
mov ecx, dword [esi + 0x2068]
mov edx, dword [esp + 0x18]
imul ecx, edi
mov dword [esp + 0x28], eax
lea eax, [edx + ecx*4]
mov ecx, dword [esi + 0x2064]
mov edx, dword [esp + 0x34]
imul ecx, edi
mov dword [esp + 0x2c], eax
lea eax, [edx + ecx*4]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x2060]
cdq
idiv ecx
mov byte [esp + 0x23], 0
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x204c]
cdq
idiv ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x205c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x3c]
call fcn.10059dd0
lea ecx, [esp + 0x58]
add esp, 4
push ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.10059590
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
call dword [sym.imp.MSVCR100.dll__aligned_free]
inc edi
add esp, 4
cmp edi, dword [ebx + 0x18]
jl 0x10056d52
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 8]
cmp dword [edx + 0x3c], 0
je 0x10056ed1
mov eax, dword [esi + 0x2048]
imul eax, dword [esi + 0x2044]
imul eax, dword [esi + 0x2040]
mov edi, dword [esp + 0x24]
mov ecx, 1
mov edx, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xac], edx
lea edx, [esp + 0x17]
mov dword [esp + 0x6c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], eax
push edx
lea ecx, [esp + 0x98]
lea eax, [esp + 0x68]
mov dword [esp + 0x68], edi
mov dword [esp + 0x9c], edi
mov byte [esp + 0x1b], 0
call fcn.100595f0
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [eax]
jl 0x10056c72
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x2718
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8