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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x56de5f
sub esp, 0x8c
mov eax, dword [esp + 0x94]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x84]
test edx, edx
je 0x56d68f
lea ebx, [0x691b80]
jmp 0x56d693
xor ebx, ebx
xor edx, edx
mov eax, dword [ebx + 0x50]
mov dword [esp], edx
call eax
cmp dword [esp + 4], 0x16
jne 0x56de46
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x56d741
nop
movzx edx, byte [0x7ba2f0]
test dl, dl
je 0x56d6fb
mov edx, dword [esp + 0x94]
mov dword [0x7ba2f4], edx
mov ebx, dword [0x7e0970]
test ebx, ebx
jne 0x56d6e7
mov eax, dword [esp + 0x98]
mov dword [0x7ba2f8], eax
jmp 0x56d709
lea edi, [0x7ba2f8]
mov eax, dword [esp + 0x98]
call fcn.0045e4b0
jmp 0x56d709
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x56d737
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x56d733
or ebp, 0x80
mov esi, eax
jmp 0x56d747
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x56d747
xor ebp, ebp
xor ebx, ebx
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00481740
mov eax, dword [esp + 0x14]
and eax, 0x1f
lea ecx, [eax - 2]
cmp ecx, 4
jbe 0x56dad5
lea ecx, [eax - 7]
cmp ecx, 4
jbe 0x56d82a
cmp eax, 0x19
jne 0x56de2e
mov eax, dword [esp + 0x94]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x56d7a5
lea ecx, [0x691b80]
jmp 0x56d7a9
xor ecx, ecx
xor eax, eax
mov ecx, dword [ecx + 0x28]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [0x7ba134]
mov edx, dword [esp + 8]
cmp dword [0x7ba130], eax
jne 0x56de2e
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004033f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x56de2e
mov eax, dword [esp + 0x94]
lea ecx, [0x636e80]
cmp eax, ecx
jne 0x56de18
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.0056de70
movzx eax, byte [esp + 8]
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0056e240
movzx eax, byte [esp + 8]
test al, al
je 0x56dac6
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x56d8f6
nop
movzx edx, byte [0x7ba2f0]
test dl, dl
je 0x56d8b3
mov edx, dword [esp + 0x94]
mov dword [0x7ba2f4], edx
mov ebx, dword [0x7e0970]
test ebx, ebx
jne 0x56d89f
mov eax, dword [esp + 0x98]
mov dword [0x7ba2f8], eax
jmp 0x56d8c1
lea edi, [0x7ba2f8]
mov eax, dword [esp + 0x98]
call fcn.0045e4b0
jmp 0x56d8c1
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x56d8ec
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x56d8e8
or ebp, 0x80
mov esi, eax
jmp 0x56d8fc
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x56d8fc
xor ebp, ebp
xor ebx, ebx
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00481740
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
and edx, 0x1f
lea ebx, [edx - 7]
mov ebp, dword [esp + 0xc]
cmp ebx, 5
ja 0x56ddda
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov edx, dword [ebp]
shl edx, 3
add edx, 0xffffffc0
neg edx
lea ebx, [edx - 0x20]
mov dword [esp + 0x40], ebx
cmp ebx, 0x20
sbb ebp, ebp
mov esi, ebx
neg ebx
mov dword [esp + 0x3c], ebx
cmp ebx, 0x20
mov edi, ebp
sbb ebp, ebp
mov dword [esp + 0x38], ebp
cmp edx, 0x20
sbb ebp, ebp
mov dword [esp + 0x34], ebp
mov ecx, edx
mov ebx, dword [esp + 0x20]
shl ebx, cl
and ebx, ebp
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
shr esi, cl
mov ebp, dword [esp + 0x38]
and esi, ebp
or esi, ebx
and eax, edi
or eax, esi
mov dword [esp + 0x30], eax
mov ecx, edx
mov esi, eax
shr eax, cl
mov ebp, dword [esp + 0x34]
and eax, ebp
mov ebx, dword [esp + 0x20]
cmp ebx, eax
setne bl
mov eax, ebx
mov ebx, dword [esp + 0x18]
shl ebx, cl
and ebx, ebp
mov ecx, dword [esp + 0x3c]
shl esi, cl
mov ecx, ebp
mov ebp, dword [esp + 0x38]
and esi, ebp
mov dword [esp + 0x3c], esi
mov ebp, ecx
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
shr esi, cl
mov ecx, edx
shr ebx, cl
and ebx, ebp
and esi, edi
mov edx, dword [esp + 0x3c]
or ebx, edx
or ebx, esi
mov edx, dword [esp + 0x18]
cmp edx, ebx
setne dl
or edx, eax
test dl, dl
jne 0x56dac6
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x56da75
nop
movzx edx, byte [0x7ba2f0]
test dl, dl
je 0x56da3f
mov edx, dword [esp + 0x94]
mov dword [0x7ba2f4], edx
mov edx, dword [0x7e0970]
test edx, edx
jne 0x56da2b
mov eax, dword [esp + 0x98]
mov dword [0x7ba2f8], eax
jmp 0x56da46
lea edi, [0x7ba2f8]
mov eax, dword [esp + 0x98]
call fcn.0045e4b0
jmp 0x56da46
mov eax, dword [esp + 0x98]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x56da6d
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x56da7b
or edx, 0x80
jmp 0x56da7b
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x56da7b
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00481740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
call fcn.004835e0
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0056e070
movzx eax, byte [esp + 8]
test al, al
je 0x56dd8d
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x56dba1
nop
movzx edx, byte [0x7ba2f0]
test dl, dl
je 0x56db5e
mov edx, dword [esp + 0x94]
mov dword [0x7ba2f4], edx
mov ebx, dword [0x7e0970]
test ebx, ebx
jne 0x56db4a
mov eax, dword [esp + 0x98]
mov dword [0x7ba2f8], eax
jmp 0x56db6c
lea edi, [0x7ba2f8]
mov eax, dword [esp + 0x98]
call fcn.0045e4b0
jmp 0x56db6c
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x56db97
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x56db93
or ebp, 0x80
mov esi, eax
jmp 0x56dba7
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x56dba7
xor ebp, ebp
xor ebx, ebx
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00481740
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
and edx, 0x1f
lea ebx, [edx - 2]
mov ebp, dword [esp + 0xc]
cmp ebx, 4
ja 0x56dd9c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov edx, dword [ebp]
shl edx, 3
add edx, 0xffffffc0
neg edx
mov dword [esp + 0x2c], edx
cmp edx, 0x20
sbb ebx, ebx
lea ebp, [edx - 0x20]
mov dword [esp + 0x40], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x3c], ebp
cmp ebp, 0x20
mov edi, ebx
sbb ebx, ebx
mov dword [esp + 0x38], ebx
cmp esi, 0x20
sbb ebx, ebx
mov dword [esp + 0x34], ebx
shr edx, 5
cmp edx, 1
sbb edx, edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
cmp edx, 0x20
sbb ebp, ebp
mov dword [esp + 0x2c], ebp
mov ecx, esi
shl eax, cl
and eax, ebx
mov ecx, edx
mov ebp, dword [esp + 0x24]
shl ebp, cl
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
shr esi, cl
mov ebx, dword [esp + 0x38]
and esi, ebx
and ebp, edi
or ebp, esi
or ebp, eax
mov eax, ecx
mov ecx, edx
mov esi, dword [esp + 0x1c]
shl esi, cl
and esi, edi
shr esi, cl
and esi, edi
mov ecx, eax
mov edi, ebp
shl ebp, cl
and ebp, ebx
or ebp, esi
mov ecx, dword [esp + 0x34]
not ecx
mov ebx, dword [esp + 0x40]
or ecx, ebx
mov ebx, edi
sar edi, cl
mov esi, dword [esp + 0x30]
xor esi, 0xffffffff
and esi, edi
or esi, ebp
mov ebp, dword [esp + 0x1c]
cmp ebp, esi
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov ecx, dword [esp + 0x2c]
not ecx
or ecx, edx
sar ebx, cl
mov edx, dword [esp + 0x24]
cmp edx, ebx
setne dl
or edx, ebp
test dl, dl
jne 0x56dd8d
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x56dd3c
nop
movzx edx, byte [0x7ba2f0]
test dl, dl
je 0x56dd06
mov edx, dword [esp + 0x94]
mov dword [0x7ba2f4], edx
mov edx, dword [0x7e0970]
test edx, edx
jne 0x56dcf2
mov eax, dword [esp + 0x98]
mov dword [0x7ba2f8], eax
jmp 0x56dd0d
lea edi, [0x7ba2f8]
mov eax, dword [esp + 0x98]
call fcn.0045e4b0
jmp 0x56dd0d
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x56dd34
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x56dd42
or edx, 0x80
jmp 0x56dd42
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x56dd42
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00481740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
call fcn.00483000
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov dword [esp + 0x28], edx
lea eax, [0x61e180]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x63e4a8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x616660]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433710
mov dword [esp + 0x28], edx
lea eax, [0x61e180]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x63ebad]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x616660]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433710
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x612380]
mov dword [esp + 8], eax
call fcn.00408a70
lea eax, [0x612980]
mov dword [esp], eax
lea eax, [0x6908bc]
mov dword [esp + 4], eax
call fcn.00433710
lea eax, [0x612980]
mov dword [esp], eax
lea eax, [0x6908b4]
mov dword [esp + 4], eax
call fcn.00433710
nop
call fcn.0045d0a0
jmp fcn.0056d640