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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56c370
sub esp, 0x70
mov eax, dword [esp + 0x90]
lea ecx, [eax + 1]
mov dword [esp], ecx
call fcn.00565bd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x90]
sub ecx, edx
mov ebp, dword [eax + 4]
mov dword [esp + 0x30], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
lea ebp, [edx - 1]
cmp edx, ebp
jbe 0x56c366
mov dword [esp + 0x28], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + edx*4 - 4]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.0055f060
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x8c]
jmp 0x56bf99
dec eax
mov ebp, dword [esp + 0x38]
mov ebp, ecx
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x8c]
mov ecx, eax
mov eax, dword [esp + 0x38]
test ecx, ecx
jl 0x56c274
lea esi, [ebp + ecx]
mov dword [esp + 0x58], esi
cmp ebx, esi
jle 0x56bfc0
jbe 0x56c35d
mov esi, dword [edx + esi*4]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x58]
jmp 0x56bfce
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
cmp esi, edi
je 0x56c057
lea ebp, [ecx + ebp - 1]
cmp ebx, ebp
jbe 0x56c354
mov ecx, dword [edx + ebp*4]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call fcn.0055ef10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x90]
lea ebx, [edx - 2]
cmp edx, ebx
jbe 0x56c34b
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + edx*4 - 8]
mov esi, eax
mov eax, ebp
mov edi, edx
mul ecx
nop
mov ebx, dword [esp + 0x40]
lea ebx, [ebx + edi - 2]
nop
nop
mov edi, dword [esp + 0x84]
cmp edi, ebx
jbe 0x56c342
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + ebx*4]
jmp 0x56c2f5
mov esi, 0xffffffff
mov eax, dword [esp + 0x34]
cmp ebp, eax
ja 0x56c2d6
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
call fcn.0056d930
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jae 0x56c2cd
mov ebx, dword [esp + 0x68]
mov dword [ebx + ecx*4], eax
mov ebp, dword [esp + 0x40]
lea esi, [edx + ebp]
mov edi, dword [esp + 0x84]
cmp edi, esi
jge 0x56c0df
test eax, eax
jne 0x56c0df
lea esi, [edx - 1]
jmp 0x56c0e1
mov esi, edx
mov dword [esp + 0x48], esi
mov eax, ebx
lea ebx, [esi + ebp]
mov esi, dword [esp + 0x88]
cmp esi, ebx
jb 0x56c2c4
cmp ebp, ebx
ja 0x56c2bb
sub esi, ebp
mov dword [esp + 0x54], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebp, 2
sar esi, 0x1f
and esi, ebp
mov ebp, dword [esp + 0x80]
add esi, ebp
mov ebx, dword [esp + 0x40]
cmp edi, ebx
jb 0x56c2b2
mov dword [esp + 0x6c], esi
mov dword [esp], esi
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
sub edi, ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
call fcn.0056d7f0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x56c18e
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x2c]
jmp 0x56c23b
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x58]
cmp edx, ecx
jb 0x56c2ad
mov eax, dword [esp + 0x40]
cmp eax, ecx
ja 0x56c2a8
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x20], edx
call fcn.0056d7b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jge 0x56c228
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x58]
cmp ebx, ebp
jbe 0x56c29f
mov esi, dword [esp + 0x80]
add dword [esi + ebp*4], eax
jmp 0x56c236
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x2c]
dec ebp
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
cmp eax, edi
jne 0x56c25e
mov edx, esi
mov esi, dword [esp + 0x78]
cmp esi, edi
jne 0x56c264
test ebp, ebp
jne 0x56c264
mov esi, dword [esp + 0x74]
jmp 0x56bf7e
mov edx, esi
mov esi, dword [esp + 0x78]
cmp esi, eax
jbe 0x56c298
mov esi, dword [esp + 0x74]
mov dword [esi + eax*4], ebp
jmp 0x56bf7e
lea eax, [0x8db900]
mov dword [esp], eax
lea eax, [0x766940]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.0045c680
add esp, 0x70
ret
mov ecx, esi
call fcn.00456b40
mov eax, ebp
mov ecx, ebx
call fcn.00456b40
call fcn.00456ba0
call fcn.00456b80
mov eax, ebx
mov ecx, edi
call fcn.00456ba0
mov eax, ebp
mov ecx, ebx
call fcn.00456ba0
mov ecx, ebx
mov edx, esi
call fcn.00456b80
mov eax, ecx
mov ecx, edx
call fcn.00456b40
mov ecx, ebp
mov edx, eax
call fcn.00456b80
mov dword [esp + 0x4c], eax
mul ebp
nop
nop
nop
mov esi, edi
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x80]
cmp esi, edx
jb 0x56c2ff
jne 0x56c312
cmp eax, ebx
jbe 0x56c312
lea eax, [ecx - 1]
mov ecx, edi
mov edi, dword [esp + 0x3c]
mov edx, edi
add edi, esi
cmp esi, edi
jbe 0x56c2df
jmp 0x56c31a
mov edx, dword [esp + 0x3c]
mov eax, ecx
mov ecx, edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x38]
jmp 0x56c05c
mov eax, ebx
mov ecx, edi
call fcn.00456b40
mov eax, ebx
mov ecx, edx
call fcn.00456b40
mov eax, ebp
mov ecx, ebx
call fcn.00456b40
mov eax, esi
mov ecx, ebx
call fcn.00456b40
mov eax, ebp
mov ecx, edx
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.0056bed0