Function at 0x4d3620
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 0x4d363a
pop ecx
cmp eax, dword [edx + 8]
jno 0x4d366c
mov edi, dword [edx + 0x34]
mov dword [esp + 0x74], ecx
test edi, edi
je 0x4d3ed6
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 0x4d375e
mov ecx, dword [edx + 0x44]
movss xmm0, dword [0x501870]
test ecx, ecx
je 0x4d3ebe
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 0x4d3710
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 fcn.004ef6f4
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 0x4d36b0
movzx eax, cl
test eax, eax
jne 0x4d3714
jmp 0x4d3e9c
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
movss xmm0, dword [0x501870]
sub eax, 1
jb 0x4d3ebe
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov ecx, dword [ecx + edi*4 + 0x248]
jmp 0x4d3686
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x24]
lea ebx, [esp + 0x10]
cmp edx, edi
je 0x4d3ed6
mov al, 0x18
cmp edx, edi
mov dword [esp], eax
jae 0x4d3f04
movzx eax, byte [esi + edx]
mov ecx, eax
not cl
test cl, 0x1f
je 0x4d3f04
lea ecx, [edx + 1]
cmp ecx, edi
jae 0x4d3f04
movsx ecx, byte [esi + edx + 1]
mov byte [esp + 4], al
lea eax, [edx + 2]
test ecx, ecx
jns 0x4d38c7
movzx ecx, cl
add ecx, 0xffffff7f
cmp ecx, 3
ja 0x4d3f04
mov ecx, dword [ecx*4 + 0x4d3f90]
add ecx, dword [esp + 0x74]
jmp ecx
mov edx, eax
add edx, ecx
jb 0x4d3f04
cmp edx, edi
mov dword [esp + 8], edx
ja 0x4d3f04
cmp byte [esp + 4], 0x30
jne 0x4d3f04
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.004ce780
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 0x4d3ef7
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
cmp eax, dword [esp + 0x3c]
jae 0x4d3950
mov ecx, dword [esp + 0x38]
cmp byte [ecx + eax], 0x17
jne 0x4d3950
mov ecx, ebx
lea edx, [esp + 0x38]
push 1
push 0x17
jmp 0x4d395a
mov ecx, ebx
lea edx, [esp + 0x38]
push 0
push 0x18
call fcn.004d22f0
add esp, 8
cmp byte [esp + 0x10], 0
mov edx, dword [esp + 8]
jne 0x4d3ef0
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 0x4d3dc4
mov ecx, ebx
lea edx, [esp + 0x38]
push 0x30
call fcn.004ce780
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x48], eax
je 0x4d3ee9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
test eax, eax
mov dword [esp + 0xc], eax
je 0x4d3dbc
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 0x4d3f04
mov esi, dword [esp + 0x48]
mov edx, ecx
movzx eax, byte [esi + edi]
mov ecx, eax
not cl
test cl, 0x1f
je 0x4d3f04
lea ecx, [edi + 1]
cmp ecx, edx
jae 0x4d3f04
movsx ecx, byte [esi + edi + 1]
lea edx, [edi + 2]
test ecx, ecx
jns 0x4d3b81
movzx ecx, cl
add ecx, 0xffffff7f
cmp ecx, 3
ja 0x4d3f04
mov ecx, dword [ecx*4 + 0x4d3fa0]
add ecx, dword [esp + 0x74]
jmp ecx
mov edi, edx
add edi, ecx
jb 0x4d3f04
cmp al, 0x30
jne 0x4d3f04
cmp edi, dword [esp + 0xc]
ja 0x4d3f04
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.004ce780
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4d3ee9
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x14]
mov ecx, ebx
call fcn.004ce990
test al, 1
jne 0x4d3efb
mov eax, ebx
mov ebx, edx
lea ecx, [esp + 0x10]
mov edx, eax
push 4
call fcn.004ce780
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d3ee9
cmp edi, 3
jne 0x4d3c1c
cmp word [esi], 0x1d55
je 0x4d3c62
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 0x4d3eff
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0x94]
jne 0x4d3f04
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc]
cmp edi, ecx
jne 0x4d3a0b
jmp 0x4d3e8b
movzx edx, byte [esi + 2]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
cmp edx, 0x15
je 0x4d3cde
cmp edx, 0x18
je 0x4d3c9b
mov esi, dword [esp + 0x2c]
cmp edx, 0x1d
je 0x4d3f74
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
test bl, 1
lea ebx, [esp + 0x10]
je 0x4d3c39
jmp 0x4d3eff
test byte [esp + 0x20], 1
mov esi, dword [esp + 0x2c]
lea ebx, [esp + 0x10]
jne 0x4d3f6c
test ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0
je 0x4d3d5b
cmp byte [eax], 0x17
jne 0x4d3d5b
mov ecx, ebx
lea edx, [esp + 0x54]
push 1
push 0x17
jmp 0x4d3d65
cmp byte [esp + 0x30], 0xb
jne 0x4d3f6c
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.004ce780
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4d3f78
cmp dword [esp + 0x58], 1
jne 0x4d3f70
movzx ecx, byte [eax]
cmp ecx, 7
jb 0x4d3d38
lea eax, [ecx - 8]
cmp eax, 3
jae 0x4d3f86
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 0x4d3f7f
mov ecx, dword [esp + 4]
jmp 0x4d3c39
mov ecx, ebx
lea edx, [esp + 0x54]
push 0
push 0x18
call fcn.004d22f0
add esp, 8
cmp byte [esp + 0x10], 0
mov edx, dword [esp + 8]
jne 0x4d3ef0
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x58]
jne 0x4d3f70
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 0x4d3c39
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 0x4d3f04
mov eax, dword [esp + 0x20]
xor eax, 2
or eax, dword [esp + 0x28]
je 0x4d3f04
mov esi, dword [ebp + 0xc]
cmp dword [esp + 0x78], esi
jne 0x4d3740
push esi
push dword [ebp + 8]
push dword [esp + 0x54]
call fcn.004ef6f4
mov edx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4d3740
jmp 0x4d3f23
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
jmp 0x4d3dd0
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 0x4d3ebe
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 0x4d3f1b
mov eax, dword [esp + 0x34]
mov dword [eax + 4], 0
mov dword [eax], 2
jmp 0x4d3f1b
movzx eax, byte [esp + 0x14]
jmp 0x4d3f01
movzx eax, byte [esp + 0x11]
jmp 0x4d3f01
mov al, 0x27
jmp 0x4d3f01
mov eax, edx
jmp 0x4d3f01
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 0x4d3f1b
mov al, 0x23
jmp 0x4d3f01
mov al, 0x1a
jmp 0x4d3f01
mov al, 0x3e
jmp 0x4d3f01
movzx eax, byte [esp + 0x58]
jmp 0x4d3f01
mov al, 0xd
jmp 0x4d3f01
mov al, 0x40
jmp 0x4d3f01