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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x56a5af
sub esp, 0x94
mov eax, dword [esp + 0xa8]
lea ecx, [eax - 2]
cmp ecx, 0x3c
ja 0x56a596
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x56a194
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call fcn.00565d20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
nop
mov ecx, dword [esp + 0xa8]
cvtsi2sd xmm0, ecx
movsd qword [esp], xmm0
call fcn.004730d0
mov eax, dword [esp + 0x68]
cvtsi2sd xmm0, eax
divsd xmm0, qword [esp + 8]
cvttsd2si eax, xmm0
lea ecx, [eax + 1]
movzx edx, byte [esp + 0xa4]
test dl, dl
je 0x56a0d2
lea ecx, [eax + 2]
mov dword [esp + 0x34], ecx
lea eax, [0x734860]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa8]
mov edx, ecx
neg ecx
and ecx, edx
cmp edx, ecx
jne 0x56a17d
mov ebx, edx
neg edx
and ebx, edx
imul edx, ebx, 0x77cb531
shr edx, 0x1b
lea ebx, [0x674dc0]
movzx ecx, byte [ebx + edx]
mov dword [esp + 0x68], ecx
cmp ecx, 0x20
sbb edx, edx
mov dword [esp + 0x64], edx
nop
mov ebx, 1
shl ebx, cl
and ebx, edx
dec ebx
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x98]
mov esi, dword [ebp]
nop
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x78], ecx
mov ecx, 1
mov dword [esp + 0x50], ecx
mov ecx, 0x20
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
jmp 0x56a3aa
nop
mov ecx, eax
mov eax, 0xffffffff
mov ebx, edx
xor edx, edx
div ebx
mov edx, ebx
mov ebp, 1
jmp 0x56a1d1
lea eax, [0x730080]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 0x30
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 1
add esp, 0x94
ret
imul ebx, edx
inc ebp
cmp ebx, eax
jbe 0x56a1cd
mov dword [esp + 0x90], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.0056aca0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
nop
mov ebx, dword [esp + 0x9c]
cmp ebx, 1
jne 0x56a23f
mov dword [esp + 0x6c], 0
mov ebp, 1
lea esi, [esp + 0x6c]
mov edi, 1
jmp 0x56a27e
lea eax, [0x734220]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x9c]
mov ebp, ebx
mov esi, eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x88]
cmp ebx, ebp
jl 0x56a284
mov ebx, ebp
mov edx, dword [esp + 0x98]
cmp edx, esi
je 0x56a2cb
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x8c], esi
mov dword [esp], esi
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00457450
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x58]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
call fcn.0056a5c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
xor edx, edx
jmp 0x56a32d
inc edx
cmp eax, edx
jbe 0x56a395
lea ebx, [edx + ecx]
cmp byte [ebx], 0x30
je 0x56a32c
movzx ebx, byte [esp + 0xa4]
test bl, bl
je 0x56a353
lea ebx, [edx - 1]
cmp eax, ebx
jbe 0x56a38c
mov byte [edx + ecx - 1], 0x2d
jmp 0x56a355
mov ebx, edx
cmp eax, ebx
jb 0x56a383
sub eax, ebx
mov edx, eax
neg eax
sar eax, 0x1f
and ebx, eax
lea eax, [ebx + ecx]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], edx
add esp, 0x94
ret
mov ecx, eax
mov eax, ebx
call fcn.00456ba0
mov ecx, eax
mov eax, ebx
call fcn.00456b40
mov ecx, eax
mov eax, edx
call fcn.00456b40
inc ebp
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x98]
mov ebp, dword [esp + 0x50]
cmp edi, ebp
jg 0x56a527
jmp 0x56a488
test ebp, ebp
jne 0x56a3e8
mov ebp, dword [esp + 0x50]
cmp edi, ebp
jbe 0x56a578
mov esi, dword [esp + 0x98]
mov esi, dword [esi + ebp*4]
mov dword [esp + 0x70], eax
mov eax, 0x20
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
jmp 0x56a39e
mov edx, dword [esp + 0x50]
cmp edi, edx
jbe 0x56a56f
cmp ebp, 0x20
sbb edi, edi
mov ebx, dword [esp + 0x98]
mov edx, dword [ebx + edx*4]
mov ecx, ebp
shl edx, cl
and edx, edi
or esi, edx
mov edx, dword [esp + 0x48]
and esi, edx
cmp esi, 0x3e
jae 0x56a563
mov edi, dword [esp + 0x60]
lea edx, [edi - 1]
lea ebx, [0x77aebe]
movzx esi, byte [ebx + esi]
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jbe 0x56a55a
mov ebx, dword [esp + 0x68]
sub ebx, ecx
cmp ebx, 0x20
sbb ebp, ebp
xchg esi, ebx
mov byte [edi + eax - 1], bl
xchg esi, ebx
mov edi, dword [esp + 0x50]
mov esi, ebp
mov ebp, dword [esp + 0x98]
mov ebp, dword [ebp + edi*4]
mov ecx, ebx
shr ebp, cl
and esi, ebp
lea ebx, [ecx - 0x20]
neg ebx
mov ecx, dword [esp + 0x68]
mov ebp, edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x4c], ebx
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x48]
jmp 0x56a39e
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x60]
jmp 0x56a4ae
xchg esi, ebx
mov byte [edi + eax - 1], bl
xchg esi, ebx
mov esi, dword [esp + 0x38]
shr esi, cl
mov edi, dword [esp + 0x64]
and esi, edi
mov edx, edi
mov edi, ebx
mov ebx, dword [esp + 0x48]
test esi, esi
je 0x56a4d0
mov dword [esp + 0x38], esi
and esi, ebx
cmp esi, 0x3e
jae 0x56a4ee
lea ebx, [edi - 1]
lea edx, [0x77aebe]
movzx esi, byte [edx + esi]
cmp ebp, ebx
ja 0x56a492
jmp 0x56a4e5
movzx ebx, byte [esp + 0xa4]
test bl, bl
mov ecx, eax
mov edx, edi
mov eax, ebp
jmp 0x56a343
mov eax, ebx
mov ecx, ebp
call fcn.00456b40
mov eax, esi
mov ecx, 0x3e
call fcn.00456b50
xchg esi, ebx
mov byte [edi + eax - 1], bl
xchg esi, ebx
mov esi, dword [esp + 0x38]
shr esi, cl
and esi, edx
mov edi, dword [esp + 0x4c]
sub edi, ecx
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], edi
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x4c]
cmp ebp, ecx
jb 0x56a3bb
mov dword [esp + 0x38], esi
and esi, ebx
cmp esi, 0x3e
jae 0x56a58a
mov edi, dword [esp + 0x60]
lea ebx, [edi - 1]
lea ebp, [0x77aebe]
movzx esi, byte [ebp + esi]
mov ebp, dword [esp + 0x34]
cmp ebp, ebx
ja 0x56a4fa
jmp 0x56a581
mov eax, edx
mov ecx, ebx
call fcn.00456b40
mov eax, esi
mov ecx, 0x3e
call fcn.00456b50
mov eax, edx
mov ecx, edi
call fcn.00456b40
mov eax, ebp
mov ecx, edi
call fcn.00456b40
mov eax, ebx
mov ecx, ebp
call fcn.00456b40
mov eax, esi
mov ecx, 0x3e
call fcn.00456b50
lea eax, [0x7346e0]
mov dword [esp], eax
lea eax, [0x7ca254]
mov dword [esp + 4], eax
call fcn.00430590
nop
call fcn.00455690
jmp fcn.0056a030