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

Disassembly:
sub esp, 0x20
push ebx
mov ebx, edx
push ebp
push esi
mov esi, ecx
mov edx, dword [ebx + 4]
add edx, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov eax, dword [esi + 0x80]
mov byte [ebx], 0
cmp byte [ebx + 2], 0
push edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
je 0x56332c
mov edi, dword [ebx + 0x2c]
mov ebp, dword [ebx + 0x34]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x30]
cmp edi, ebp
jb 0x5636be
ja 0x563285
cmp eax, ecx
jb 0x5636be
sub eax, ecx
mov ecx, dword [esp + 0x34]
sbb edi, ebp
xor ebp, ebp
cmp ebp, edi
jb 0x56329b
ja 0x563299
cmp ecx, eax
jb 0x56329b
mov ecx, eax
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x80]
add eax, ecx
cmp byte [esi + 0x1a], 0
mov dword [esp + 0x24], eax
mov eax, 1
mov dword [esp + 0x28], eax
jne 0x563766
nop
mov edi, dword [ebx + 8]
sub ebp, edi
mov eax, dword [esi]
cmp eax, 7
jne 0x5636d5
mov ecx, dword [esi + 0x80]
cmp ecx, dword [esp + 0x20]
jne 0x563752
mov al, byte [esi + 0x19]
mov edi, dword [esi + 0x20]
mov byte [esp + 0x34], al
lea eax, [esi + 0x20]
cmp byte [esp + 0x34], 2
mov dword [esp + 0x18], eax
je 0x563401
mov eax, dword [esp + 0x24]
sub eax, ecx
cmp eax, edi
cmovbe edi, eax
cmp byte [esp + 0x34], 0
jne 0x563335
mov eax, dword [esi + 0x78]
cmp edi, ebp
cmovbe ebp, edi
add eax, ecx
push ebp
push edx
push eax
call sub.msvcrt.dll_memcpy
add dword [esp + 0x1c], ebp
add esp, 0xc
add dword [ebx + 8], ebp
jmp 0x56334b
mov ecx, dword [esp + 0x34]
jmp 0x56329f
movzx eax, byte [esi + 0xb]
push edi
push eax
mov eax, dword [esi + 0x78]
add eax, ecx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ebp, edi
mov ecx, dword [esi + 0x80]
mov edx, ecx
mov eax, dword [esi + 0x38]
and eax, 0x1f
sub edx, eax
mov eax, dword [esi + 0x9c]
add eax, ebp
mov dword [esp + 0x34], edx
lea edx, [ecx + ebp]
mov ecx, dword [esi + 0x98]
cmp eax, ecx
mov dword [esi + 0x80], edx
cmovb ecx, eax
xor edi, edi
add dword [esi + 0x38], ebp
mov dword [esi + 0x9c], ecx
adc dword [esi + 0x3c], edi
cmp byte [esi + 0x1c], 0
jne 0x5633b5
test byte [esi + 0x16], 4
je 0x5633b5
sub edx, dword [esp + 0x34]
and edx, 0xffffffe0
je 0x5633b5
mov ecx, dword [esi + 0x78]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x34]
add eax, edx
add edx, ecx
push eax
lea ecx, [esi + 0x40]
call fcn.0055bb90
lea ecx, [ebx + 0x30]
mov eax, ebp
add dword [ecx], eax
mov eax, dword [esp + 0x18]
adc edi, dword [ecx + 4]
mov dword [ecx + 4], edi
sub dword [eax], ebp
je 0x563639
cmp byte [ebx + 2], 0
je 0x563717
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ecx + 4]
ja 0x563717
jb 0x5633f1
mov eax, dword [ebx + 0x28]
cmp eax, dword [ecx]
ja 0x563717
pop edi
pop esi
mov al, 4
mov byte [ebx], al
xor eax, eax
pop ebp
pop ebx
add esp, 0x20
ret 4
lea ecx, [esi + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx]
sub edi, ecx
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x563545
mov edx, dword [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
cmp ebp, edi
jb 0x563547
cmp dword [ebx + 8], 0xd
jae 0x563683
movzx eax, byte [edx]
mov dword [esp + 0x34], eax
test al, 2
jne 0x563496
mov ecx, eax
mov eax, 1
shr ecx, 3
test byte [esp + 0x34], 4
je 0x56348a
cmp edi, 3
jb 0x563683
movzx eax, word [edx + 1]
mov edx, dword [esp + 0x34]
shr ecx, 1
and edx, 8
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
jne 0x563479
movzx eax, al
shl eax, 4
add ecx, eax
xor eax, eax
cmp dword [esp + 0x18], eax
setne al
add eax, 2
test byte [esp + 0x34], 1
cmovne ecx, dword [esp + 0x28]
jmp 0x5634d7
cmp edi, 5
jb 0x563683
and eax, 0xc
add eax, 0x10
lea eax, [eax + eax*2]
shr eax, 4
mov dword [esp + 0x18], eax
lea ecx, [eax*4 - 6]
mov eax, dword [edx + 1]
shr eax, cl
mov dword [esp + 0x34], eax
mov eax, 0x10
shl eax, cl
mov ecx, dword [esp + 0x34]
dec eax
and ecx, eax
je 0x563683
mov eax, dword [esp + 0x18]
add eax, ecx
cmp eax, edi
jae 0x563683
movzx ecx, byte [eax + edx]
inc eax
cmp ecx, 0x7f
jbe 0x56351f
cmp eax, edi
jae 0x563683
movzx esi, byte [eax + edx]
add ecx, 0xffffff80
inc eax
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x2c]
cmp ecx, 0x7f
jne 0x563518
cmp eax, edi
jae 0x563683
movzx ecx, byte [eax + edx]
add ecx, 0x7f
inc eax
shl ecx, 8
add ecx, dword [esp + 0x34]
test ecx, ecx
je 0x563683
add eax, dword [ebx + 8]
cmp eax, 0xf
jae 0x563683
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x2c]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x20]
mov dword [esp + 0x18], eax
cmp ebp, edi
cmovbe edi, ebp
test edi, edi
je 0x563582
test ecx, ecx
jne 0x56355c
mov eax, dword [esi + 0x60]
xorps xmm0, xmm0
movups xmmword [eax + 0x30], xmm0
mov eax, dword [esi + 0x60]
add ecx, 0x40
push edi
push edx
add eax, ecx
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x40]
add esp, 0xc
add dword [ebx + 8], edi
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x10], edi
add ecx, edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
cmp ecx, dword [eax]
jne 0x5637a3
mov eax, dword [esi + 0x60]
xorps xmm0, xmm0
mov ebp, 0x40
movups xmmword [ecx + eax + 0x40], xmm0
mov edx, dword [esi + 0x60]
add edx, 0x40
cmp dword [ebx + 0x20], 0
mov edi, dword [esi + 0x80]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x34], edi
je 0x5635c1
mov eax, dword [esi + 0x7c]
sub eax, edi
cmp ecx, eax
cmova ecx, eax
push ecx
push ebp
push dword [esi + 0x20]
lea ecx, [esi + 0x78]
call fcn.00562a30
test eax, eax
jne 0x563769
mov eax, dword [esi + 0x38]
mov ebp, edi
mov edx, dword [esi + 0x80]
and eax, 0x1f
sub edx, dword [esp + 0x34]
sub ebp, eax
mov ecx, edx
mov eax, 0
add dword [ebx + 0x30], ecx
lea ecx, [ebx + 0x30]
adc eax, dword [ebx + 0x34]
mov dword [ebx + 0x34], eax
add dword [esi + 0x38], edx
adc dword [esi + 0x3c], 0
cmp byte [esi + 0x1c], 0
jne 0x563639
test byte [esi + 0x16], 4
lea ecx, [ebx + 0x30]
je 0x563639
mov eax, dword [esi + 0x80]
lea ecx, [ebx + 0x30]
sub eax, ebp
and eax, 0xffffffe0
je 0x563639
mov ecx, dword [esi + 0x78]
add eax, ecx
add eax, ebp
push eax
lea edx, [ecx + ebp]
lea ecx, [esi + 0x40]
call fcn.0055bb90
lea ecx, [ebx + 0x30]
cmp byte [esi + 0x18], 0
jne 0x56369b
mov dword [esi], 6
cmp byte [ebx + 2], 0
je 0x56365c
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ecx + 4]
jb 0x5636be
ja 0x56365c
mov eax, dword [ebx + 0x28]
cmp eax, dword [ecx]
jb 0x5636be
mov eax, dword [esp + 0x20]
cmp dword [esi + 0x80], eax
jne 0x563738
mov edx, dword [esp + 0x10]
cmp byte [esi + 0x1a], 0
jne 0x563761
mov ebp, dword [esp + 0x14]
jmp 0x5632c0
mov dword [esp + 0x34], edx
sub ebp, edi
add edx, edi
add dword [ebx + 8], edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
jmp 0x5635a4
test byte [esi + 0x16], 4
je 0x5636cd
mov dword [esi], 1
cmp byte [ebx + 2], 0
je 0x56366c
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ecx + 4]
jb 0x5636be
ja 0x56366c
mov eax, dword [ebx + 0x28]
cmp eax, dword [ecx]
jae 0x56366c
pop edi
pop esi
pop ebp
mov byte [ebx], 4
xor eax, eax
pop ebx
add esp, 0x20
ret 4
mov dword [esi], 8
jmp 0x56366c
cmp eax, 8
je 0x5637b2
cmp eax, 5
je 0x56372c
cmp eax, 3
je 0x563777
test ebp, ebp
je 0x5637a3
lea eax, [edi + 1]
mov ecx, esi
mov dword [ebx + 8], eax
lea eax, [ebx + 0x38]
mov dl, byte [edx]
push eax
call fcn.00563990
mov edx, dword [esp + 0x10]
inc edx
mov dword [esi], eax
mov dword [esp + 0x10], edx
jmp 0x563670
cmp byte [esi + 0x19], 0
jne 0x563728
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx + 8]
mov al, 3
je 0x56372a
mov al, 2
mov byte [ebx], al
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx + 8]
pop edi
sete al
pop esi
add al, 2
mov byte [ebx], al
xor eax, eax
pop ebp
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x20
ret 4
mov eax, 1
mov byte [ebx], 0
pop edi
mov byte [esi + 0x1a], 1
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov edx, dword [esi + 0x20]
cmp ebp, edx
mov ecx, edx
cmovbe ecx, ebp
sub edx, ecx
lea eax, [edi + ecx]
mov dword [ebx + 8], eax
mov dword [esi + 0x20], edx
jne 0x5637a3
pop edi
mov dword [esi], 0
xor eax, eax
pop esi
pop ebp
mov byte [ebx], 1
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
mov byte [ebx], 3
xor eax, eax
pop ebx
add esp, 0x20
ret 4
mov byte [ebx], 1
test byte [esi + 0x16], 0xe0
je 0x5637da
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x38]
jne 0x5637cb
mov ecx, dword [esi + 0x34]
cmp ecx, dword [esi + 0x3c]
je 0x5637da
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4
xor eax, eax
mov ecx, 3
cmp byte [esi + 0x1b], al
pop edi
pop esi
pop ebp
cmovne eax, ecx
pop ebx
add esp, 0x20
ret 4