Function at 0x4d6d60
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 0x4d6d7a
pop ecx
cmp eax, dword [edx + 8]
jno 0x4d6dac
mov edi, dword [edx + 0x34]
mov dword [esp + 0x74], ecx
test edi, edi
je 0x4d7616
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 0x4d6e9e
mov ecx, dword [edx + 0x44]
movss xmm0, dword [0x4f3920]
test ecx, ecx
je 0x4d75fe
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 0x4d6e50
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 0x4d6df0
movzx eax, cl
test eax, eax
jne 0x4d6e54
jmp 0x4d75dc
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
movss xmm0, dword [0x4f3920]
sub eax, 1
jb 0x4d75fe
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov ecx, dword [ecx + edi*4 + 0x248]
jmp 0x4d6dc6
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x24]
lea ebx, [esp + 0x10]
cmp edx, edi
je 0x4d7616
mov al, 0x18
cmp edx, edi
mov dword [esp], eax
jae 0x4d7644
movzx eax, byte [esi + edx]
mov ecx, eax
not cl
test cl, 0x1f
je 0x4d7644
lea ecx, [edx + 1]
cmp ecx, edi
jae 0x4d7644
movsx ecx, byte [esi + edx + 1]
mov byte [esp + 4], al
lea eax, [edx + 2]
test ecx, ecx
jns 0x4d7007
movzx ecx, cl
add ecx, 0xffffff7f
cmp ecx, 3
ja 0x4d7644
mov ecx, dword [ecx*4 + 0x4d76d0]
add ecx, dword [esp + 0x74]
jmp ecx
mov edx, eax
add edx, ecx
jb 0x4d7644
cmp edx, edi
mov dword [esp + 8], edx
ja 0x4d7644
cmp byte [esp + 4], 0x30
jne 0x4d7644
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.004d1ec0
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 0x4d7637
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
cmp eax, dword [esp + 0x3c]
jae 0x4d7090
mov ecx, dword [esp + 0x38]
cmp byte [ecx + eax], 0x17
jne 0x4d7090
mov ecx, ebx
lea edx, [esp + 0x38]
push 1
push 0x17
jmp 0x4d709a
mov ecx, ebx
lea edx, [esp + 0x38]
push 0
push 0x18
call fcn.004d5a30
add esp, 8
cmp byte [esp + 0x10], 0
mov edx, dword [esp + 8]
jne 0x4d7630
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 0x4d7504
mov ecx, ebx
lea edx, [esp + 0x38]
push 0x30
call fcn.004d1ec0
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x48], eax
je 0x4d7629
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
test eax, eax
mov dword [esp + 0xc], eax
je 0x4d74fc
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 0x4d7644
mov esi, dword [esp + 0x48]
mov edx, ecx
movzx eax, byte [esi + edi]
mov ecx, eax
not cl
test cl, 0x1f
je 0x4d7644
lea ecx, [edi + 1]
cmp ecx, edx
jae 0x4d7644
movsx ecx, byte [esi + edi + 1]
lea edx, [edi + 2]
test ecx, ecx
jns 0x4d72c1
movzx ecx, cl
add ecx, 0xffffff7f
cmp ecx, 3
ja 0x4d7644
mov ecx, dword [ecx*4 + 0x4d76e0]
add ecx, dword [esp + 0x74]
jmp ecx
mov edi, edx
add edi, ecx
jb 0x4d7644
cmp al, 0x30
jne 0x4d7644
cmp edi, dword [esp + 0xc]
ja 0x4d7644
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.004d1ec0
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4d7629
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x14]
mov ecx, ebx
call fcn.004d20d0
test al, 1
jne 0x4d763b
mov eax, ebx
mov ebx, edx
lea ecx, [esp + 0x10]
mov edx, eax
push 4
call fcn.004d1ec0
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d7629
cmp edi, 3
jne 0x4d735c
cmp word [esi], 0x1d55
je 0x4d73a2
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 0x4d763f
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0x94]
jne 0x4d7644
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc]
cmp edi, ecx
jne 0x4d714b
jmp 0x4d75cb
movzx edx, byte [esi + 2]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
cmp edx, 0x15
je 0x4d741e
cmp edx, 0x18
je 0x4d73db
mov esi, dword [esp + 0x2c]
cmp edx, 0x1d
je 0x4d76b4
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
test bl, 1
lea ebx, [esp + 0x10]
je 0x4d7379
jmp 0x4d763f
test byte [esp + 0x20], 1
mov esi, dword [esp + 0x2c]
lea ebx, [esp + 0x10]
jne 0x4d76ac
test ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0
je 0x4d749b
cmp byte [eax], 0x17
jne 0x4d749b
mov ecx, ebx
lea edx, [esp + 0x54]
push 1
push 0x17
jmp 0x4d74a5
cmp byte [esp + 0x30], 0xb
jne 0x4d76ac
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.004d1ec0
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4d76b8
cmp dword [esp + 0x58], 1
jne 0x4d76b0
movzx ecx, byte [eax]
cmp ecx, 7
jb 0x4d7478
lea eax, [ecx - 8]
cmp eax, 3
jae 0x4d76c6
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 0x4d76bf
mov ecx, dword [esp + 4]
jmp 0x4d7379
mov ecx, ebx
lea edx, [esp + 0x54]
push 0
push 0x18
call fcn.004d5a30
add esp, 8
cmp byte [esp + 0x10], 0
mov edx, dword [esp + 8]
jne 0x4d7630
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x58]
jne 0x4d76b0
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 0x4d7379
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 0x4d7644
mov eax, dword [esp + 0x20]
xor eax, 2
or eax, dword [esp + 0x28]
je 0x4d7644
mov esi, dword [ebp + 0xc]
cmp dword [esp + 0x78], esi
jne 0x4d6e80
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 0x4d6e80
jmp 0x4d7663
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
jmp 0x4d7510
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 0x4d75fe
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 0x4d765b
mov eax, dword [esp + 0x34]
mov dword [eax + 4], 0
mov dword [eax], 2
jmp 0x4d765b
movzx eax, byte [esp + 0x14]
jmp 0x4d7641
movzx eax, byte [esp + 0x11]
jmp 0x4d7641
mov al, 0x27
jmp 0x4d7641
mov eax, edx
jmp 0x4d7641
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 0x4d765b
mov al, 0x23
jmp 0x4d7641
mov al, 0x1a
jmp 0x4d7641
mov al, 0x3e
jmp 0x4d7641
movzx eax, byte [esp + 0x58]
jmp 0x4d7641
mov al, 0xd
jmp 0x4d7641
mov al, 0x40
jmp 0x4d7641