Function at 0x562950
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 0x562a4c
mov edi, dword [ebx + 0x2c]
mov ebp, dword [ebx + 0x34]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x30]
cmp edi, ebp
jb 0x562dd2
ja 0x5629a5
cmp eax, ecx
jb 0x562dd2
sub eax, ecx
mov ecx, dword [esp + 0x34]
sbb edi, ebp
xor ebp, ebp
cmp ebp, edi
jb 0x5629bb
ja 0x5629b9
cmp ecx, eax
jb 0x5629bb
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 0x562e7a
nop
mov edi, dword [ebx + 8]
sub ebp, edi
mov eax, dword [esi]
cmp eax, 7
jne 0x562de9
mov ecx, dword [esi + 0x80]
cmp ecx, dword [esp + 0x20]
jne 0x562e66
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 0x562b15
mov eax, dword [esp + 0x24]
sub eax, ecx
cmp eax, edi
cmovbe edi, eax
cmp byte [esp + 0x34], 0
jne 0x562a55
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 0x562a6b
mov ecx, dword [esp + 0x34]
jmp 0x5629bf
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 eax, dword [esi + 0x38]
xor edi, edi
mov ecx, dword [esi + 0x80]
and eax, 0x1f
mov edx, ecx
sub edx, eax
add dword [esi + 0x38], ebp
adc dword [esi + 0x3c], edi
lea eax, [ecx + ebp]
cmp byte [esi + 0x1c], 0
mov dword [esi + 0x80], eax
jne 0x562ab0
test byte [esi + 0x16], 4
je 0x562ab0
sub eax, edx
and eax, 0xffffffe0
je 0x562ab0
add eax, dword [esi + 0x78]
lea ecx, [esi + 0x40]
add eax, edx
add edx, dword [esi + 0x78]
push eax
call fcn.0055b2a0
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
add eax, ebp
cmp eax, ecx
cmovb ecx, eax
mov eax, ebp
mov dword [esi + 0x9c], ecx
lea ecx, [ebx + 0x30]
add dword [ecx], eax
mov eax, dword [esp + 0x18]
adc edi, dword [ecx + 4]
mov dword [ecx + 4], edi
sub dword [eax], ebp
je 0x562d4d
cmp byte [ebx + 2], 0
je 0x562e2b
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ecx + 4]
ja 0x562e2b
jb 0x562b05
mov eax, dword [ebx + 0x28]
cmp eax, dword [ecx]
ja 0x562e2b
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 0x562c59
mov edx, dword [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
cmp ebp, edi
jb 0x562c5b
cmp dword [ebx + 8], 0xd
jae 0x562d97
movzx eax, byte [edx]
mov dword [esp + 0x34], eax
test al, 2
jne 0x562baa
mov ecx, eax
mov eax, 1
shr ecx, 3
test byte [esp + 0x34], 4
je 0x562b9e
cmp edi, 3
jb 0x562d97
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 0x562b8d
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 0x562beb
cmp edi, 5
jb 0x562d97
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 0x562d97
mov eax, dword [esp + 0x18]
add eax, ecx
cmp eax, edi
jae 0x562d97
movzx ecx, byte [eax + edx]
inc eax
cmp ecx, 0x7f
jbe 0x562c33
cmp eax, edi
jae 0x562d97
movzx esi, byte [eax + edx]
add ecx, 0xffffff80
inc eax
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x2c]
cmp ecx, 0x7f
jne 0x562c2c
cmp eax, edi
jae 0x562d97
movzx ecx, byte [eax + edx]
add ecx, 0x7f
inc eax
shl ecx, 8
add ecx, dword [esp + 0x34]
test ecx, ecx
je 0x562d97
add eax, dword [ebx + 8]
cmp eax, 0xf
jae 0x562d97
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 0x562c96
test ecx, ecx
jne 0x562c70
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 0x562eb7
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 0x562cd5
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.00562150
test eax, eax
jne 0x562e7d
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 0x562d4d
test byte [esi + 0x16], 4
lea ecx, [ebx + 0x30]
je 0x562d4d
mov eax, dword [esi + 0x80]
lea ecx, [ebx + 0x30]
sub eax, ebp
and eax, 0xffffffe0
je 0x562d4d
mov ecx, dword [esi + 0x78]
add eax, ecx
add eax, ebp
push eax
lea edx, [ecx + ebp]
lea ecx, [esi + 0x40]
call fcn.0055b2a0
lea ecx, [ebx + 0x30]
cmp byte [esi + 0x18], 0
jne 0x562daf
mov dword [esi], 6
cmp byte [ebx + 2], 0
je 0x562d70
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ecx + 4]
jb 0x562dd2
ja 0x562d70
mov eax, dword [ebx + 0x28]
cmp eax, dword [ecx]
jb 0x562dd2
mov eax, dword [esp + 0x20]
cmp dword [esi + 0x80], eax
jne 0x562e4c
mov edx, dword [esp + 0x10]
cmp byte [esi + 0x1a], 0
jne 0x562e75
mov ebp, dword [esp + 0x14]
jmp 0x5629e0
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 0x562cb8
test byte [esi + 0x16], 4
je 0x562de1
mov dword [esi], 1
cmp byte [ebx + 2], 0
je 0x562d80
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ecx + 4]
jb 0x562dd2
ja 0x562d80
mov eax, dword [ebx + 0x28]
cmp eax, dword [ecx]
jae 0x562d80
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 0x562d80
cmp eax, 8
je 0x562ec6
cmp eax, 5
je 0x562e40
cmp eax, 3
je 0x562e8b
test ebp, ebp
je 0x562eb7
lea eax, [edi + 1]
mov ecx, esi
mov dword [ebx + 8], eax
lea eax, [ebx + 0x38]
mov dl, byte [edx]
push eax
call fcn.005630a0
mov edx, dword [esp + 0x10]
inc edx
mov dword [esi], eax
mov dword [esp + 0x10], edx
jmp 0x562d84
cmp byte [esi + 0x19], 0
jne 0x562e3c
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx + 8]
mov al, 3
je 0x562e3e
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 0x562eb7
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 0x562eee
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x38]
jne 0x562edf
mov ecx, dword [esi + 0x34]
cmp ecx, dword [esi + 0x3c]
je 0x562eee
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4
cmp byte [esi + 0x1b], 0
je 0x562e40
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x20
ret 4