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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x194], esi
mov eax, dword [esi + 0x58]
cmp eax, 2
jl 0x4d62f6
cmp dword [esi + 4], 0
jne 0x4d5e07
pop edi
pop esi
mov eax, 0xffffff76
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jl 0x4d62f6
mov edi, dword [ebp + 0xc]
jg 0x4d5e1f
test edi, edi
jb 0x4d62f6
cmp ebx, dword [esi + 0x14]
jg 0x4d62f6
jl 0x4d5e33
cmp edi, dword [esi + 0x10]
ja 0x4d62f6
cmp eax, 3
jl 0x4d5e62
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
jl 0x4d5e59
jg 0x4d5e4b
cmp edi, dword [ecx + eax*8]
jb 0x4d5e59
cmp ebx, dword [ecx + eax*8 + 0xc]
jl 0x4d5e62
jg 0x4d5e59
cmp edi, dword [ecx + eax*8 + 8]
jb 0x4d5e62
push esi
call fcn.004d3cb0
add esp, 4
push dword [esi + 0x5c]
lea eax, [esi + 0x78]
mov dword [esi + 0x50], 0xffffffff
push eax
mov dword [esi + 0x54], 0xffffffff
call fcn.004f72b0
lea eax, [esi + 0x1e0]
push eax
call fcn.004f91e0
push ebx
push edi
push esi
call fcn.004d4d40
add esp, 0x18
test eax, eax
je 0x4d5ec4
push esi
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call fcn.004d3cb0
add esp, 4
mov eax, 0xffffff77
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
push dword [esi + 0x5c]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x16c]
push eax
mov dword [ebp - 0x170], ebx
call fcn.004f6ad0
lea eax, [ebp - 0x16c]
push eax
call fcn.004f7220
add esp, 0xc
jmp 0x4d5f06
mov ebx, dword [ebp - 0x170]
cmp dword [esi + 0x58], 3
jl 0x4d5fd1
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.004f6da0
add esp, 8
test eax, eax
jle 0x4d5fd1
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl ecx, 5
add eax, ecx
cmp dword [eax + 0x1c], 0
je 0x4d5fc3
lea ecx, [ebp - 0x1c8]
push ecx
push eax
call fcn.004f9260
mov edi, eax
add esp, 8
test edi, edi
jns 0x4d5f6b
lea eax, [esi + 0x78]
push 0
push eax
call fcn.004f6da0
add esp, 8
xor edi, edi
jmp 0x4d5f9d
cmp dword [ebp - 0x174], 0
je 0x4d5f8d
cmp dword [ebp - 0x178], 0
jne 0x4d5f8d
lea eax, [esi + 0x78]
push 0
push eax
call fcn.004f6da0
add esp, 8
jmp 0x4d5f9d
test ebx, ebx
je 0x4d5f9d
lea eax, [edi + ebx]
sar eax, 2
add dword [ebp - 0x18c], eax
mov ebx, dword [ebp - 0x1b8]
mov eax, ebx
mov edx, dword [ebp - 0x1b4]
and eax, edx
cmp eax, 0xffffffff
jne 0x4d6140
mov ebx, edi
mov dword [ebp - 0x170], ebx
jmp 0x4d5f06
lea eax, [esi + 0x78]
push 0
push eax
call fcn.004f6da0
add esp, 8
test ebx, ebx
jne 0x4d62bf
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x1a8]
push eax
push esi
call fcn.004d43b0
mov ecx, edx
mov dword [ebp - 0x190], eax
add esp, 0x10
mov dword [ebp - 0x180], ecx
test ecx, ecx
jl 0x4d62ac
jg 0x4d600d
test eax, eax
jb 0x4d62ac
cmp dword [esi + 0x58], 3
jl 0x4d6072
lea eax, [ebp - 0x1a8]
push eax
call fcn.004f6720
add esp, 4
cmp dword [esi + 0x5c], eax
je 0x4d6068
lea eax, [ebp - 0x1a8]
push eax
call fcn.004f65c0
add esp, 4
test eax, eax
je 0x4d6068
lea eax, [esi + 0x1e0]
push eax
call fcn.004f87e0
lea eax, [esi + 0x250]
push eax
call fcn.004f86e0
lea eax, [ebp - 0x16c]
mov dword [esi + 0x58], 2
push eax
call fcn.004f6750
add esp, 0xc
cmp dword [esi + 0x58], 3
jge 0x4d6103
lea eax, [ebp - 0x1a8]
push eax
call fcn.004f6720
mov ecx, dword [esi + 0x34]
add esp, 4
xor edi, edi
mov ebx, eax
test ecx, ecx
jle 0x4d609c
mov eax, dword [esi + 0x40]
nop
cmp dword [eax], ebx
je 0x4d609c
inc edi
add eax, 4
cmp edi, ecx
jl 0x4d6090
cmp edi, ecx
je 0x4d5f00
lea eax, [esi + 0x78]
mov dword [esi + 0x60], edi
push ebx
push eax
mov dword [esi + 0x5c], ebx
call fcn.004f72b0
lea eax, [ebp - 0x16c]
push ebx
push eax
call fcn.004f72b0
mov eax, dword [esi + 0x3c]
add esp, 0x10
mov ecx, dword [ebp - 0x180]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x4d60f3
jl 0x4d60e7
mov ecx, dword [ebp - 0x190]
cmp ecx, dword [eax + edi*8]
ja 0x4d60f3
mov dword [ebp - 0x178], 1
jmp 0x4d60fd
mov dword [ebp - 0x178], 0
mov ebx, dword [ebp - 0x170]
lea eax, [ebp - 0x1a8]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.004f6e00
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.004f6e00
lea eax, [ebp - 0x1a8]
push eax
call fcn.004f6670
add esp, 0x14
mov dword [ebp - 0x174], eax
jmp 0x4d5f06
mov edi, dword [esi + 0x60]
mov eax, edi
mov ecx, dword [esi + 0x44]
shl eax, 4
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x180], ecx
sub ebx, dword [eax + ecx]
sbb edx, dword [eax + ecx + 4]
mov dword [ebp - 0x170], edx
test edx, edx
jg 0x4d618b
jl 0x4d616e
test ebx, ebx
jae 0x4d618b
xorps xmm0, xmm0
movlpd qword [ebp - 0x188], xmm0
mov edx, dword [ebp - 0x184]
mov ebx, dword [ebp - 0x188]
mov dword [ebp - 0x170], edx
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [ebp - 0x17c], xmm0
movlpd qword [ebp - 0x188], xmm0
cmp edi, 2
jl 0x4d621f
mov eax, dword [ebp - 0x180]
lea ecx, [edi - 2]
mov edi, dword [ebp - 0x184]
add eax, 0x18
mov esi, dword [ebp - 0x178]
mov edx, dword [ebp - 0x17c]
shr ecx, 1
inc ecx
mov dword [ebp - 0x174], ecx
add ecx, ecx
mov dword [ebp - 0x190], ecx
mov ecx, dword [ebp - 0x188]
nop word [eax + eax]
add edx, dword [eax - 0x10]
adc esi, dword [eax - 0xc]
add ecx, dword [eax]
adc edi, dword [eax + 4]
lea eax, [eax + 0x20]
sub dword [ebp - 0x174], 1
jne 0x4d61e0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x178], edx
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], esi
mov esi, dword [ebp - 0x194]
cmp eax, dword [ebp - 0x198]
jl 0x4d6250
jmp 0x4d626d
mov eax, dword [ebp - 0x178]
test edi, edi
mov ecx, dword [ebp - 0x188]
mov edi, dword [ebp - 0x184]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x178], eax
jle 0x4d626d
xor eax, eax
nop dword [eax]
mov esi, dword [ebp - 0x180]
shl eax, 4
add ebx, dword [eax + esi + 8]
adc edx, dword [eax + esi + 0xc]
mov esi, dword [ebp - 0x194]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x18c]
cdq
sub ecx, eax
sbb edi, edx
add ecx, dword [ebp - 0x178]
adc edi, dword [ebp - 0x174]
add ecx, ebx
mov dword [esi + 0x50], ecx
adc edi, dword [ebp - 0x170]
mov dword [esi + 0x54], edi
test edi, edi
jg 0x4d62cd
jl 0x4d629c
test ecx, ecx
jae 0x4d62cd
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
jmp 0x4d62cd
push 0xffffffffffffffff
push esi
call fcn.004d5d20
add esp, 8
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x4d62cd
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
lea eax, [ebp - 0x16c]
push eax
call fcn.004f6750
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi + 0x68], xmm0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffff7d
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005091c5
mov esp, ebp
pop ebp
ret