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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
cmp byte [edx + 8], 9
mov ebx, ecx
mov dword [esp + 0x2c], ecx
jne 0x50632a
mov edi, edx
lea eax, [edx + 9]
lea ecx, [0x59a051]
push 0x27
push ecx
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x5063c4
xorps xmm0, xmm0
mov edx, 5
mov eax, 0x10df786
mov esi, 0x101
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0x48862a09
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [esp + 0x40]
mov edi, dword [esp + 0x2c]
movsd xmm2, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
movq qword [edi + 0x28], xmm0
movq qword [edi + 0x20], xmm1
movsd qword [edi + 0x18], xmm2
mov dword [edi + 4], edx
mov edx, dword [esp + 0xc]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 8]
mov dword [edi + 0x10], esi
mov byte [edi + 0x14], bl
mov byte [edi + 0x15], al
mov eax, dword [esp + 0x10]
mov byte [edi + 0x16], cl
mov byte [edi + 0x17], al
mov dword [edi], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov esi, dword [edi + 0x38]
cmp al, 0x14
jne 0x5063fb
mov eax, dword [edi + 0x30]
mov edx, 2
mov bl, 0x14
mov dword [esp + 0xc], eax
movzx eax, byte [edi + 0x3f]
mov dword [esp + 0x10], eax
mov eax, ecx
movzx ecx, byte [edi + 0x3d]
mov dword [esp + 8], ecx
movzx ecx, byte [edi + 0x3e]
jmp 0x50636d
cmp al, 4
jne 0x5064fd
test esi, esi
jne 0x50650f
test ecx, ecx
mov edx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
jne 0x50636d
mov ecx, dword [edi + 4]
cmp ecx, 0xfffffff
ja 0x5064e8
mov eax, dword [edi]
test ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
je 0x506521
mov dword [esp + 0x74], 1
lea ecx, [esp + 0x30]
movzx edx, byte [eax]
call fcn.0045f120
mov eax, dword [esp + 0x30]
cmp eax, 2
jne 0x506551
movzx ebx, word [esp + 0x34]
cmp bl, 8
jne 0x5065b7
lea ecx, [esp + 0x30]
lea edx, [esp + 0x68]
call fcn.0045f2f0
mov eax, dword [esp + 0x30]
cmp eax, 2
jne 0x5065e2
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x34]
add ebx, ecx
setb al
cmp ebx, 0xfffffff
ja 0x50670f
test al, al
jne 0x50670f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x50672a
cmp ebx, dword [esp + 0x6c]
jbe 0x506753
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov al, 2
jmp 0x506640
xor edx, edx
mov al, 8
xor edi, edi
mov esi, ecx
mov dword [esp + 0x10], 0
jmp 0x506691
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov edx, 4
jmp 0x50636d
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov edx, 4
jmp 0x50636d
mov dword [esp + 0x68], 0
mov ebx, 1
mov al, 2
xor edi, edi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
xor edx, edx
mov dword [esp + 0x10], 1
jmp 0x506640
movzx ecx, word [esp + 0x34]
movsd xmm0, qword [esp + 0x4c]
mov dword [esp + 0x10], eax
movzx edi, byte [esp + 0x36]
movsd xmm2, qword [esp + 0x44]
mov eax, ecx
movzx eax, byte [esp + 0x37]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [esp + 0x54]
shl edi, 0x10
mov dword [esp + 8], ecx
or edi, ecx
shr edi, 8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [esp + 0x5c]
mov edx, eax
movsd qword [esp + 0x98], xmm0
shr edx, 8
jmp 0x506638
movzx eax, byte [esp + 0x36]
xor edi, edi
mov edx, 8
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
shl eax, 0x10
or ebx, eax
mov al, 0xc
and ebx, 0xffffff
mov dword [esp + 0x10], 0
jmp 0x506640
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x4c]
movsd xmm3, qword [esp + 0x54]
movsd xmm1, qword [esp + 0x5c]
movsd xmm2, qword [esp + 0x44]
mov edx, eax
mov edi, ecx
mov esi, ecx
mov dword [esp + 8], ecx
shr ecx, 0x18
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x90], xmm3
movsd qword [esp + 0x98], xmm1
shr edx, 8
shr edi, 8
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
movzx esi, di
movzx edi, byte [esp + 8]
movsd xmm0, qword [esp + 0x98]
movsd xmm1, qword [esp + 0x90]
shl esi, 8
or edi, esi
movzx esi, byte [esp + 0xc]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 0xd8], xmm1
shl esi, 0x18
movsd qword [esp + 0xd0], xmm0
or esi, edi
mov edi, ecx
mov ecx, ebx
shl edx, 8
movzx eax, al
mov ebx, esi
or eax, edx
movsd xmm0, qword [esp + 0xe0]
movsd xmm1, qword [esp + 0xd8]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [esp + 0xd0]
mov dword [edx + 4], esi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], edi
movlps qword [edx + 0x18], xmm2
movsd xmm1, qword [esp + 0x38]
movsd qword [esp + 0x30], xmm0
movq xmm0, qword [esp + 0x30]
movsd qword [edx + 0x28], xmm1
movq xmm1, qword [esp + 0x40]
movq qword [edx + 0x20], xmm0
movq qword [edx + 0x30], xmm1
mov dword [edx], 2
jmp 0x5063bc
mov eax, ebx
mov edi, ebx
mov dword [esp + 8], ebx
xor edx, edx
shr eax, 0x18
shr edi, 8
mov dword [esp + 0xc], eax
mov al, 8
jmp 0x5065d8
mov eax, ecx
mov edi, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x10], 1
shr eax, 0x18
shr edi, 8
mov dword [esp + 0xc], eax
mov al, 1
jmp 0x506640
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x78]
mov dword [esp + 0x74], ebx
call fcn.00470800
mov eax, dword [esp + 0x30]
cmp eax, 2
jne 0x50692f
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x30]
lea edx, [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.00470800
mov eax, dword [esp + 0x30]
cmp eax, 2
jne 0x50692f
movsd xmm0, qword [esp + 0x38]
mov esi, dword [esp + 0x84]
cmp dword [esp + 0x78], 0
mov dword [esp + 0x10], 1
movaps xmmword [esp + 0xa0], xmm0
je 0x5069c6
mov edx, dword [esp + 0x7c]
mov eax, esi
sub edx, esi
jne 0x5069e9
cmp dword [esp + 0x68], 0
mov dword [esp + 0x10], 1
je 0x506a1b
mov eax, dword [esp + 0x6c]
sub eax, ebx
jne 0x506a1f
mov ecx, dword [esp + 0xc]
mov eax, ecx
movzx edx, cl
shr eax, 8
movzx eax, ax
shl eax, 8
or edx, eax
mov eax, ecx
mov ecx, dword [esp + 8]
shr eax, 0x18
movzx eax, al
shl eax, 0x18
mov ebx, ecx
movzx esi, cl
or edx, eax
lea ecx, [esp + 0xe8]
shr ebx, 8
shl ebx, 8
or esi, ebx
mov ebx, dword [esp + 0x34]
push esi
call fcn.00505d00
movaps xmm0, xmmword [esp + 0xa4]
lea ecx, [esp + 0x11c]
mov edx, ebx
movss dword [esp], xmm0
call fcn.00505d00
add esp, 4
movsd xmm1, qword [esp + 0x110]
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
movq xmm0, qword [esp + 0xe8]
mov dword [esp + 8], 0
movaps xmmword [esp + 0x10], xmm1
movsd xmm1, qword [esp + 0x118]
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x34], ecx
movaps xmmword [esp + 0xa0], xmm1
shufps xmm1, xmm1, 0x55
movd edx, xmm1
movq xmm1, qword [esp + 0x140]
movd ebx, xmm1
cmp ebx, 5
cmovb edx, ebx
test edx, edx
je 0x506a8e
cmp ebx, 5
cmovae edi, dword [esp + 0xc]
cmp edx, 1
mov esi, dword [edi]
mov edi, dword [edi + 4]
jne 0x506a90
add esi, 0xbfffffff
mov edx, 0xc0000000
adc edi, 0xffffffff
cmp edx, esi
mov esi, 0xffffffff
sbb esi, edi
jae 0x506a94
mov edx, dword [esp + 0xf4]
movd esi, xmm0
cmp esi, 2
mov dword [esp + 8], edx
jne 0x506afd
mov esi, eax
jmp 0x506ac9
movsd xmm0, qword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
movsd xmm2, qword [esp + 0x44]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [esp + 0x54]
mov edi, edx
mov dword [esp + 8], edx
shr edx, 0x18
movsd xmm3, qword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov edx, eax
shr edi, 8
shr edx, 8
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [esp + 0x5c]
movsd xmm1, qword [esp + 0xc0]
movsd qword [esp + 0x88], xmm3
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [esp + 0xc8]
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x98], xmm0
jmp 0x506640
mov al, 1
movaps xmm2, xmmword [esp + 0xa0]
mov edi, esi
mov edx, esi
mov dword [esp + 8], esi
shr esi, 0x18
shr edi, 8
mov dword [esp + 0xc], esi
xor edx, edx
jmp 0x506640
mov ecx, dword [esp + 0x80]
jae 0x506a0b
mov ebx, ecx
inc ebx
je 0x506a41
cmp ebx, 0x10000000
jae 0x506a41
mov dword [esp + 0x10], 1
mov al, 2
jmp 0x5069c8
mov al, 0xe
cmp edx, 0x10000000
jae 0x506a52
mov ecx, edx
mov ebx, esi
jmp 0x5069c8
mov dl, 1
jmp 0x506a7e
mov edi, dword [esp + 0x70]
jae 0x506a63
mov eax, edi
inc eax
je 0x506a72
cmp eax, 0x10000000
jae 0x506a72
mov ecx, eax
mov dword [esp + 0x10], 1
mov dl, 2
mov eax, ebx
jmp 0x506a7c
mov dword [esp + 0x10], 0
mov al, 8
mov esi, ebx
jmp 0x5069c8
mov dword [esp + 0x10], 0
mov al, 8
mov esi, edx
jmp 0x5069c8
mov dl, 0xe
cmp eax, 0x10000000
jae 0x506a72
mov edi, eax
mov ecx, ebx
jmp 0x506a7e
mov dl, 8
mov dword [esp + 0x10], 0
mov ebx, eax
movaps xmm2, xmmword [esp + 0xa0]
movzx eax, dl
jmp 0x50669b
jmp 0x506a94
mov dword [esp + 8], edi
movdqa xmm0, xmmword [esp + 0x10]
movd ecx, xmm0
cmp ecx, 5
jb 0x506ab2
push eax
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp ebx, 5
jb 0x506ac9
push dword [esp + 0xc]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
movdqa xmm0, xmmword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 8]
punpcklqdq xmm0, xmmword [esp + 0xa0]
mov dword [eax + 4], 4
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
movdqu xmmword [eax + 0x28], xmm0
mov dword [eax], 2
jmp 0x5063bc
lea edx, [esp + 0x128]
mov esi, dword [esp + 0x2c]
movsd xmm2, qword [edx + 0x10]
movsd xmm3, qword [edx]
movsd xmm4, qword [edx + 8]
movsd qword [esi + 0x50], xmm2
movsd xmm2, qword [esp + 0xf8]
movsd qword [esi + 0x40], xmm3
movsd qword [esi + 0x48], xmm4
movsd xmm3, qword [esp + 0x100]
movsd qword [esi + 0x10], xmm2
movsd xmm2, qword [esp + 0x108]
movsd qword [esi + 0x18], xmm3
movsd qword [esi + 0x20], xmm2
movaps xmm2, xmmword [esp + 0x10]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov eax, dword [esp + 8]
mov dword [esi + 0xc], eax
unpcklpd xmm2, xmmword [esp + 0xa0]
mov eax, dword [esp + 0xc]
movups xmmword [esi + 0x28], xmm2
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
movq qword [esi + 0x58], xmm1
jmp 0x5063bc