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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
xor eax, eax
mov dword [esp + 0x34], ecx
call 0x4c5c3a
pop ecx
cmp eax, dword [edx + 8]
jno 0x4c5c6c
mov edi, dword [edx + 0x34]
mov dword [esp + 0x74], ecx
test edi, edi
je 0x4c64d6
mov esi, dword [edx + 0x30]
xor edx, edx
lea ebx, [esp + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x24], esi
jmp 0x4c5d5e
mov ecx, dword [edx + 0x44]
movss xmm0, dword [0x4e1810]
test ecx, ecx
je 0x4c64be
mov eax, dword [edx + 0x48]
mov dword [esp + 4], eax
lea eax, [ecx + 0x1bc]
mov dword [esp + 8], ecx
movzx ecx, word [ecx + 0x242]
mov edi, 0xffffffff
mov dword [esp + 0xc], ecx
lea ecx, [ecx*4]
lea esi, [ecx + ecx*2]
nop word [eax + eax]
test esi, esi
je 0x4c5d10
lea ecx, [eax + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [esp], ecx
mov ecx, dword [eax + 8]
mov ebx, edx
sub ebx, ecx
cmovb ecx, edx
push ecx
push dword [eax + 4]
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
cmovne ebx, eax
xor ecx, ecx
mov eax, 0xff
test ebx, ebx
setne cl
cmovs ecx, eax
mov eax, dword [esp]
inc edi
add esi, 0xfffffff4
cmp cl, 1
je 0x4c5cb0
movzx eax, cl
test eax, eax
jne 0x4c5d14
jmp 0x4c649c
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
movss xmm0, dword [0x4e1810]
sub eax, 1
jb 0x4c64be
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov ecx, dword [ecx + edi*4 + 0x248]
jmp 0x4c5c86
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x24]
lea ebx, [esp + 0x10]
cmp edx, edi
je 0x4c64d6
mov al, 0x18
cmp edx, edi
mov dword [esp], eax
jae 0x4c6504
movzx eax, byte [esi + edx]
mov ecx, eax
not cl
test cl, 0x1f
je 0x4c6504
lea ecx, [edx + 1]
cmp ecx, edi
jae 0x4c6504
movsx ecx, byte [esi + edx + 1]
mov byte [esp + 4], al
lea eax, [edx + 2]
test ecx, ecx
jns 0x4c5ec7
movzx ecx, cl
add ecx, 0xffffff7f
cmp ecx, 3
ja 0x4c6504
mov ecx, dword [ecx*4 + 0x4c6590]
add ecx, dword [esp + 0x74]
jmp ecx
mov edx, eax
add edx, ecx
jb 0x4c6504
cmp edx, edi
mov dword [esp + 8], edx
ja 0x4c6504
cmp byte [esp + 4], 0x30
jne 0x4c6504
add eax, esi
lea edx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov ecx, ebx
mov dword [esp + 0x40], 0
push 2
call fcn.004c0d80
add esp, 4
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, 0x27
test esi, esi
mov ecx, edi
cmove ecx, eax
je 0x4c64f7
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
cmp eax, dword [esp + 0x3c]
jae 0x4c5f50
mov ecx, dword [esp + 0x38]
cmp byte [ecx + eax], 0x17
jne 0x4c5f50
mov ecx, ebx
lea edx, [esp + 0x38]
push 1
push 0x17
jmp 0x4c5f5a
mov ecx, ebx
lea edx, [esp + 0x38]
push 0
push 0x18
call fcn.004c48f0
add esp, 8
cmp byte [esp + 0x10], 0
mov edx, dword [esp + 8]
jne 0x4c64f0
mov eax, dword [esp + 0x18]
mov cl, 0xb
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x3c]
je 0x4c63c4
mov ecx, ebx
lea edx, [esp + 0x38]
push 0x30
call fcn.004c0d80
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x48], eax
je 0x4c64e9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
test eax, eax
mov dword [esp + 0xc], eax
je 0x4c63bc
mov ecx, dword [esp + 0xc]
xor edi, edi
mov al, 0xb
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 4], eax
mov al, 0x17
cmp edi, ecx
mov dword [esp], eax
jae 0x4c6504
mov esi, dword [esp + 0x48]
mov edx, ecx
movzx eax, byte [esi + edi]
mov ecx, eax
not cl
test cl, 0x1f
je 0x4c6504
lea ecx, [edi + 1]
cmp ecx, edx
jae 0x4c6504
movsx ecx, byte [esi + edi + 1]
lea edx, [edi + 2]
test ecx, ecx
jns 0x4c6181
movzx ecx, cl
add ecx, 0xffffff7f
cmp ecx, 3
ja 0x4c6504
mov ecx, dword [ecx*4 + 0x4c65a0]
add ecx, dword [esp + 0x74]
jmp ecx
mov edi, edx
add edi, ecx
jb 0x4c6504
cmp al, 0x30
jne 0x4c6504
cmp edi, dword [esp + 0xc]
ja 0x4c6504
add edx, esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov ecx, ebx
lea ebx, [esp + 0x90]
mov dword [esp + 0x98], 0
mov edx, ebx
push 6
call fcn.004c0d80
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4c64e9
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x14]
mov ecx, ebx
call fcn.004c0f90
test al, 1
jne 0x4c64fb
mov eax, ebx
mov ebx, edx
lea ecx, [esp + 0x10]
mov edx, eax
push 4
call fcn.004c0d80
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c64e9
cmp edi, 3
jne 0x4c621c
cmp word [esi], 0x1d55
je 0x4c6262
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x44]
test bl, 1
lea ebx, [esp + 0x10]
jne 0x4c64ff
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0x94]
jne 0x4c6504
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc]
cmp edi, ecx
jne 0x4c600b
jmp 0x4c648b
movzx edx, byte [esi + 2]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
cmp edx, 0x15
je 0x4c62de
cmp edx, 0x18
je 0x4c629b
mov esi, dword [esp + 0x2c]
cmp edx, 0x1d
je 0x4c6574
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
test bl, 1
lea ebx, [esp + 0x10]
je 0x4c6239
jmp 0x4c64ff
test byte [esp + 0x20], 1
mov esi, dword [esp + 0x2c]
lea ebx, [esp + 0x10]
jne 0x4c656c
test ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0
je 0x4c635b
cmp byte [eax], 0x17
jne 0x4c635b
mov ecx, ebx
lea edx, [esp + 0x54]
push 1
push 0x17
jmp 0x4c6365
cmp byte [esp + 0x30], 0xb
jne 0x4c656c
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x54]
mov edx, ebx
push 0xa
call fcn.004c0d80
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c6578
cmp dword [esp + 0x58], 1
jne 0x4c6570
movzx ecx, byte [eax]
cmp ecx, 7
jb 0x4c6338
lea eax, [ecx - 8]
cmp eax, 3
jae 0x4c6586
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
cmp eax, dword [esp + 0x14]
jne 0x4c657f
mov ecx, dword [esp + 4]
jmp 0x4c6239
mov ecx, ebx
lea edx, [esp + 0x54]
push 0
push 0x18
call fcn.004c48f0
add esp, 8
cmp byte [esp + 0x10], 0
mov edx, dword [esp + 8]
jne 0x4c64f0
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x58]
jne 0x4c6570
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 1
mov edi, eax
shld eax, ecx, 0x18
shr edi, 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x44]
jmp 0x4c6239
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
cmove eax, edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
cmove edi, ecx
mov ecx, dword [esp + 0x6c]
cmove eax, esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x4c], eax
cmove ecx, dword [esp + 0x8c]
cmove esi, dword [esp + 0x88]
cmove edi, ebx
movzx ebx, byte [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x68], esi
movzx esi, byte [esp + 4]
movzx ecx, cl
cmove ecx, ebx
mov dword [esp + 0x50], ecx
mov ecx, 0x18
cmovne esi, ecx
mov dword [esp], esi
jne 0x4c6504
mov eax, dword [esp + 0x20]
xor eax, 2
or eax, dword [esp + 0x28]
je 0x4c6504
mov esi, dword [ebp + 0xc]
cmp dword [esp + 0x78], esi
jne 0x4c5d40
push esi
push dword [ebp + 8]
push dword [esp + 0x54]
call sub.VCRUNTIME140.dll_memcmp
mov edx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4c5d40
jmp 0x4c6523
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
jmp 0x4c63d0
lea esi, [edi + edi*4]
mov edi, dword [esp + 8]
mov eax, dword [edi + esi*8 + 0x1c]
mov ecx, dword [edi + esi*8 + 0x20]
mov edx, dword [edi + esi*8 + 0x14]
movups xmm0, xmmword [edi + esi*8]
movzx ebx, byte [edi + esi*8 + 0x24]
mov esi, dword [edi + esi*8 + 0x10]
jmp 0x4c64be
mov edi, dword [esp + 0x34]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], edx
mov byte [edi + 0x20], bl
jmp 0x4c651b
mov eax, dword [esp + 0x34]
mov dword [eax + 4], 0
mov dword [eax], 2
jmp 0x4c651b
movzx eax, byte [esp + 0x14]
jmp 0x4c6501
movzx eax, byte [esp + 0x11]
jmp 0x4c6501
mov al, 0x27
jmp 0x4c6501
mov eax, edx
jmp 0x4c6501
mov al, 0x3a
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp]
mov byte [eax + 8], cl
mov dword [eax + 4], 0
mov dword [eax], 3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x4c]
mov word [eax + 0xd], cx
shr ecx, 0x10
mov dword [eax + 9], edi
mov byte [eax + 0xf], cl
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov byte [eax + 0x20], cl
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp]
mov byte [eax + 8], cl
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], esi
jmp 0x4c651b
mov al, 0x23
jmp 0x4c6501
mov al, 0x1a
jmp 0x4c6501
mov al, 0x3e
jmp 0x4c6501
movzx eax, byte [esp + 0x58]
jmp 0x4c6501
mov al, 0xd
jmp 0x4c6501
mov al, 0x40
jmp 0x4c6501