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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56d87e
sub esp, 0x80
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
xor ebx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor edx, edx
cmp edx, edi
jne 0x56d728
cmp esi, esi
jne 0x56d728
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov edi, esi
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], esi
cmp esi, 0
jne 0x56d699
mov edx, eax
mov eax, ebp
xor ecx, ecx
mov ebp, edx
mov edx, eax
mov eax, ebp
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x80
ret
mov dword [esp + 0x68], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x70], eax
mov edx, eax
mov ecx, 1
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], eax
cmp ecx, eax
jg 0x56d6f1
mov eax, ecx
mov ecx, edx
cmp eax, edx
ja 0x56d6ea
mov edx, ebp
mov esi, eax
mov eax, ecx
mov ecx, esi
cmp ecx, 0
jbe 0x56d6e3
mov dword [edx], edi
jmp 0x56d67d
call fcn.004291a0
ud2
call fcn.00429210
ud2
mov dword [esp], 0x5c49c0
mov eax, ecx
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, ecx
add eax, 4
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043cbf0
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x56d6da
xor ebp, ebp
mov edx, esi
mov ecx, edi
cmp ecx, 0
jb 0x56d743
jbe 0x56d870
inc ebp
mov edx, ecx
xor ecx, ecx
cmp ecx, 0
jae 0x56d733
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], edx
cmp ebp, edx
jg 0x56d82c
mov ecx, edx
cmp ebp, edx
ja 0x56d825
mov edx, dword [esp + 0x50]
mov dword [esp + 0x78], ebp
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
xor ecx, ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jge 0x56d7ed
mov dword [esp + 0x24], esi
mov ebx, ecx
mov ebp, dword [esp + 0x88]
cmp ecx, ebp
jae 0x56d81e
mov ebp, dword [esp + 0x84]
shl ebx, 2
add ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [ebp], ebx
mov esi, edi
xor edi, edi
inc ecx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jl 0x56d7bc
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xa0], ebx
add esp, 0x80
ret
call fcn.004291a0
ud2
call fcn.00429210
ud2
mov dword [esp], 0x5c49c0
mov eax, ebp
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, ebp
add eax, 4
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043cbf0
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x56d792
cmp edx, 0
jbe 0x56d743
jmp 0x56d739
call fcn.004518d0
jmp fcn.0056d5f0