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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x170
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x10]
mov esi, edx
mov edi, 0
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0x100]
mov edx, eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0xc8], ecx
shr edx, 0x10
cmp dx, 5
mov dword [esp + 0x138], edx
cmovb edi, ecx
mov ecx, dword [ebp + 0x18]
setae byte [esp + 0x2f]
cmp byte [ecx + 0x78], 0
cmove edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x13c], edi
cmp eax, dword [ebp + 8]
mov dword [esp + 0xcc], eax
call 0x4d1d21
pop eax
mov dword [esp + 0xa4], eax
jle 0x4d2ce2
mov eax, dword [ecx + 0x64]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x124], eax
sub eax, dword [esp + 0xc8]
mov ebx, dword [ebx + 0xf8]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xe8], ebx
and eax, 0xff00
mov dword [esp + 0x118], eax
mov eax, dword [ecx + 0xc]
movzx ecx, byte [esp + 0x2f]
mov dword [esp + 0xe4], eax
sub eax, ebx
mov dword [esp + 0xbc], eax
xor eax, eax
mov al, cl
lea ecx, [eax*8 + 4]
shl eax, 3
mov dword [esp + 0x134], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x130], ecx
mov ecx, dword [eax + 0x24]
add ecx, dword [esi]
cmp byte [eax + 0x21], 8
sete dl
lea edi, [ecx + edx*8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 0x10]
add ecx, dword [eax + 0x18]
movzx eax, byte [edx + 0xc9]
sub edi, ecx
movzx ecx, word [edx + 0xca]
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0xc8]
add edi, 4
mov word [esp + 0xf2], cx
mov ecx, dword [edx + 0xf4]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x100], ecx
mov ecx, dword [edx + 0x60]
mov dword [esp + 0x110], ecx
add ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xf4], ecx
movzx ecx, ah
mov dword [esp + 0x120], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0xd8], ecx
lea ecx, [ecx + ebx]
lea ebx, [esp + 0x50]
mov dword [esp + 0xb8], ecx
movzx ecx, al
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xfc], ecx
mov ecx, dword [eax + 0xec]
mov edx, dword [eax + 0xe8]
mov eax, dword [ebp + 0x24]
lea eax, [eax + 1]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x114], edx
mov dword [esp + 0x128], eax
jmp 0x4d1ece
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
lea ebx, [esp + 0x50]
movq xmm0, qword [eax]
movq xmm1, qword [eax + 8]
mov eax, dword [esp + 0x48]
movq qword [esp + 0x80], xmm1
movq qword [esp + 0x78], xmm0
cmp byte [esp + 0x78], 0x4b
jne 0x4d2d5c
mov dword [esp + 0x48], eax
mov eax, dword [esi + 8]
xor edx, edx
cmp byte [eax + 0x21], 8
mov ecx, dword [eax + 0x24]
sete dl
add ecx, dword [esi]
lea edi, [ecx + edx*8]
mov edx, dword [eax + 0x1c]
add edx, dword [eax + 0x18]
mov eax, dword [esi + 0x10]
sub edi, edx
mov dword [esp + 0xcc], eax
add edi, 4
cmp eax, dword [ebp + 8]
jle 0x4d2ce2
mov ecx, ebx
mov edx, esi
call fcn.004d4db0
movzx eax, byte [esp + 0x50]
cmp al, 0x4b
jne 0x4d2d28
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4d1e9c
movzx eax, word [ecx + 0x60]
cmp eax, 0x1d
je 0x4d1fc0
cmp eax, 0x2e
jne 0x4d2050
call fcn.00452f40
mov esi, dword [esp + 0xc]
mov ecx, ebx
mov ebx, edx
mov edi, dword [esi + 8]
mov edx, esi
push ebx
push eax
push dword [edi + 0x20]
call fcn.004d12e0
add esp, 0xc
movzx eax, byte [esp + 0x50]
cmp al, 0x4b
jne 0x4d2ceb
mov eax, dword [esp + 0xcc]
lea ebx, [esp + 0x50]
cmp dword [esi + 0x10], eax
jg 0x4d1f60
jmp 0x4d1e9c
mov eax, dword [esp + 0xcc]
cmp dword [esi + 0x10], eax
jle 0x4d1e9c
mov ecx, ebx
mov edx, esi
call fcn.004d4db0
movzx eax, byte [esp + 0x50]
cmp al, 0x4b
jne 0x4d2ceb
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4d1f50
call fcn.00452f40
mov ecx, ebx
mov ebx, esi
mov esi, edx
mov edi, dword [ebx + 8]
mov edx, ebx
push esi
push eax
push dword [edi + 0x20]
call fcn.004d12e0
add esp, 0xc
movzx eax, byte [esp + 0x50]
cmp al, 0x4b
jne 0x4d2ceb
mov esi, dword [esp + 0xc]
lea ebx, [esp + 0x50]
jmp 0x4d1f50
call fcn.00452f40
test edx, edx
je 0x4d2081
mov esi, eax
shl edx, 4
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xa0], 0
movaps xmmword [esp + 0x150], xmm0
jmp 0x4d21b7
call fcn.00452f40
mov esi, edx
mov edx, dword [esp + 0xc]
mov ecx, ebx
mov edi, dword [edx + 8]
push esi
push eax
push dword [edi + 0x20]
call fcn.004d12e0
add esp, 0xc
cmp byte [esp + 0x50], 0x4b
jne 0x4d2d76
mov esi, dword [esp + 0xc]
jmp 0x4d1e9c
pxor xmm0, xmm0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
movdqa xmmword [esp + 0x150], xmm0
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ecx + 8]
cmp ebx, dword [ecx]
jne 0x4d20ff
call fcn.004d1200
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 4]
movdqa xmm0, xmmword [esp + 0x150]
mov esi, dword [esp + 0x30]
mov edx, ecx
lea ecx, [ebx + ebx*4]
cmp dword [esp + 0xa0], 0
movdqu xmmword [eax + ecx*8], xmm0
mov dword [eax + ecx*8 + 0x10], esi
mov esi, dword [esp + 0xec]
mov dword [eax + ecx*8 + 0x14], esi
mov dword [eax + ecx*8 + 0x18], edi
mov edi, dword [esp + 0x38]
mov esi, ebx
mov dword [eax + ecx*8 + 0x1c], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*8 + 0x20], edi
lea ecx, [ebx + 1]
mov dword [edx + 8], ecx
je 0x4d2839
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x130]
mov ecx, dword [edx + eax + 0x58]
mov eax, dword [esp + 0x134]
mov eax, dword [edx + eax + 0x58]
mov edx, dword [esp + 0x12c]
sub ecx, edx
jae 0x4d28c8
mov esi, dword [esp + 0xf8]
mov cl, 0x13
xor edx, edx
xor ebx, ebx
xor edi, edi
jmp 0x4d2a15
lea ebx, [esp + 0x50]
mov edx, dword [esp + 0x140]
add esi, 0x10
add edx, 0xfffffff0
je 0x4d20ed
mov dword [esp + 0x140], edx
mov edx, dword [esp + 0xc]
movq xmm0, qword [esi]
movq xmm1, qword [esi + 8]
mov ecx, ebx
lea ebx, [esp + 0x88]
mov eax, dword [edx + 8]
movq qword [esp + 0x90], xmm1
movq qword [esp + 0x88], xmm0
push ebx
push dword [eax + 0x20]
call fcn.004c7d00
add esp, 8
mov eax, dword [esp + 0x50]
mov ecx, eax
xor ecx, 0x2e
or ecx, dword [esp + 0x54]
je 0x4d1e61
movzx ecx, word [esp + 0x60]
lea edx, [ecx - 3]
cmp edx, 0x56
ja 0x4d22a0
mov ecx, dword [edx*4 + 0x4d2d94]
lea ebx, [esp + 0x50]
add ecx, dword [esp + 0xa4]
jmp ecx
cmp ecx, 0x6e
je 0x4d22b1
cmp ecx, 0x2007
jne 0x4d21a0
lea ebx, [esp + 0x88]
lea edx, [esp + 0x50]
mov ecx, ebx
call fcn.004cce30
movzx eax, byte [esp + 0x2e]
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x10]
push ebx
push dword [esp + 0x104]
push eax
call fcn.004d3040
add esp, 0xc
cmp byte [esp + 0x10], 0x4b
jne 0x4d21a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xec], eax
mov dword [esp + 0x30], ecx
jmp 0x4d21a0
mov eax, dword [esp + 0xc4]
or dword [esp + 0x24], eax
je 0x4d2ac7
mov eax, dword [esp + 0xc0]
or dword [esp + 0x20], eax
je 0x4d2a41
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x44], eax
sbb ecx, dword [esp + 0xd0]
jae 0x4d2ac7
mov ecx, dword [ebp + 0x20]
mov edi, dword [ecx + 8]
cmp edi, dword [ecx]
jne 0x4d2889
call fcn.004d1160
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx + 4]
mov ebx, dword [esp + 0x40]
lea edx, [edi + edi*2]
inc edi
mov dword [eax + edx*8 + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + edx*8], ebx
mov ebx, dword [esp + 0xd0]
mov dword [eax + edx*8 + 0xc], ebx
mov ebx, dword [esp + 0xd4]
mov dword [eax + edx*8 + 8], ebx
mov ebx, dword [ebp + 0x24]
mov dword [eax + edx*8 + 0x10], ebx
mov dword [eax + edx*8 + 0x14], esi
mov dword [ecx + 8], edi
jmp 0x4d2ac7
add eax, edx
mov edx, dword [esp + 0x114]
lea ebx, [esp + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x4c]
mov word [esp + 0x64], dx
mov edx, dword [esp + 0x138]
mov word [esp + 0x66], dx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
movzx ecx, byte [esp + 0x2f]
mov byte [esp + 0x70], cl
mov byte [esp + 0x73], 0
mov word [esp + 0x71], 0
lea ecx, [esp + 0x88]
jmp 0x4d2965
mov eax, dword [ecx + 4]
mov ebx, dword [ebp + 0x24]
lea edx, [edi + edi*2]
inc edi
movdqu xmmword [eax + edx*8], xmm1
mov dword [eax + edx*8 + 0x10], ebx
lea ebx, [esp + 0x50]
mov dword [eax + edx*8 + 0x14], esi
mov dword [ecx + 8], edi
lea ecx, [esp + 0x88]
mov edx, ebx
call fcn.004c94c0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, eax
xor edx, 2
or edx, ecx
je 0x4d29e9
xor eax, 1
or eax, ecx
jne 0x4d2ac7
movdqu xmm1, xmmword [esp + 0x90]
pshufd xmm2, xmm1, 0xee
pshufd xmm0, xmm1, 0x55
pshufd xmm3, xmm1, 0xff
movd ecx, xmm1
movd edi, xmm2
movd eax, xmm0
movd edx, xmm3
cmp ecx, edi
sbb eax, edx
jae 0x4d295e
mov ecx, dword [ebp + 0x20]
mov edi, dword [ecx + 8]
cmp edi, dword [ecx]
jne 0x4d2940
movdqa xmmword [esp + 0x140], xmm1
call fcn.004d1160
movdqa xmm1, xmmword [esp + 0x140]
mov ecx, dword [ebp + 0x20]
jmp 0x4d2940
mov ecx, dword [esp + 0x90]
cmp cl, 0x4b
je 0x4d2ac7
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov edx, ecx
mov bl, ch
shr edx, 0x10
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], bl
mov word [esp + 0x7a], dx
mov dword [esp + 0x7c], esi
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
jmp 0x4d2aff
mov eax, dword [esp + 0xdc]
or dword [esp + 0xe0], eax
je 0x4d2ac7
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, eax
mov ebx, ecx
add edx, dword [esp + 0x108]
adc ebx, dword [esp + 0x104]
cmp eax, edx
mov eax, ecx
sbb eax, ebx
jae 0x4d2ac7
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x140], edx
mov edi, dword [ecx + 8]
cmp edi, dword [ecx]
jne 0x4d2a8c
call fcn.004d1160
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx + 4]
lea edx, [edi + edi*2]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x40]
mov dword [eax + edx*8 + 4], edi
mov edi, dword [esp + 0x44]
mov dword [eax + edx*8], edi
mov dword [eax + edx*8 + 0xc], ebx
mov edi, dword [esp + 0x140]
mov ebx, dword [ebp + 0x24]
mov dword [eax + edx*8 + 8], edi
mov dword [eax + edx*8 + 0x10], ebx
mov dword [eax + edx*8 + 0x14], esi
mov edx, dword [esp + 0x30]
inc edx
mov dword [ecx + 8], edx
mov esi, dword [esp + 0xc]
movzx eax, byte [ebp + 0xc]
lea ecx, [esp + 0x78]
mov edx, esi
push dword [esp + 0x128]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [esp + 0xe8]
call fcn.004d1cb0
add esp, 0x20
mov ecx, dword [esp + 0x28]
lea ebx, [esp + 0x50]
mov eax, dword [esp + 0x48]
cmp byte [esp + 0x78], 0x4b
je 0x4d1e98
jmp 0x4d2d5c
mov eax, dword [esp + 0x28]
mov byte [eax], 0x4b
jmp 0x4d2d54
movzx ecx, byte [esp + 0x53]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov byte [esp + 0x36], cl
movzx ecx, word [esp + 0x51]
mov byte [edi], al
mov word [esp + 0x34], cx
mov ecx, dword [esp + 0x54]
movzx eax, word [esp + 0x34]
mov word [edi + 1], ax
mov ah, byte [esp + 0x36]
mov byte [edi + 3], ah
mov dword [edi + 4], ecx
mov dword [edi + 0xc], edx
jmp 0x4d2d51
movzx ecx, byte [esp + 0x53]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov byte [edi + 3], cl
movzx ecx, word [esp + 0x51]
mov word [edi + 1], cx
mov byte [edi], al
mov dword [edi + 4], edx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
jmp 0x4d2d54
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x28]
movsd xmm1, qword [esp + 0x58]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x4d2d54