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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [esp + 0x40], edx
mov edx, 1
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 4]
sub ebx, eax
add ebx, esi
mov dword [esp + 0x14], eax
shl edx, cl
mov eax, ebx
mov ecx, dword [edi + 0xc]
sub ebx, edx
sub eax, ecx
cmp eax, edx
cmovbe ebx, ecx
cmp dword [edi + 0x18], 0
cmovne ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
add ebx, dword [esp + 0x14]
lea edx, [ecx + esi]
lea eax, [edx - 8]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xb4]
mov edx, dword [eax + 0x5c]
mov esi, dword [eax + 4]
mov dword [esp + 0x30], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x30]
add esi, edx
mov dword [esp + 0x1c], esi
mov esi, dword [eax]
mov dword [esp + 0x24], edx
sub dword [esp + 0x24], esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x10]
add dword [esp + 0x24], esi
mov esi, dword [eax + 0xc0]
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x1c]
sub eax, ebx
mov ebx, 0
add eax, ecx
sete bl
add ebx, ecx
cmp ebx, dword [esp + 0x38]
jae 0x4d1da2
mov eax, 0x20
sub eax, dword [edi + 0xbc]
mov dword [esp + 0x54], eax
mov eax, 0x40
sub eax, dword [edi + 0xc0]
mov dword [esp + 0x50], eax
mov eax, 0x38
sub eax, esi
mov dword [esp + 0x5c], eax
mov eax, 0x18
sub eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
nop word [eax + eax]
mov eax, dword [ebx]
push 0xcf1bbcdc
push 0xb7a56463
push dword [ebx + 4]
push eax
call fcn.00546260
mov ecx, dword [esp + 0x50]
mov esi, eax
mov edi, edx
call fcn.00519040
mov ecx, dword [esp + 0x54]
mov edx, edi
mov dword [esp + 0x68], eax
imul eax, dword [ebx], 0x9e3779b1
shr eax, cl
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
mov eax, esi
call fcn.00519040
mov ecx, dword [esp + 0x6c]
mov edx, eax
imul eax, dword [ebx], 0x9e3779b1
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
shr eax, cl
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], eax
mov eax, edx
shr eax, 8
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
shr eax, 8
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x20]
movzx ecx, cl
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], ecx
movzx ecx, dl
mov edx, ebx
movzx eax, al
sub edx, esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x48]
movzx eax, cl
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
sub edx, dword [esp + 0x3c]
inc edx
lea eax, [ecx + eax*4]
mov dword [esp + 0x58], edx
mov ecx, dword [eax]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], ecx
lea eax, [edi + eax*4]
lea edi, [ecx + esi]
mov dword [esp + 0x68], eax
mov eax, dword [eax]
mov dword [esp + 0x48], eax
lea ecx, [eax + esi]
mov dword [esp + 0x64], ecx
cmp edx, dword [esp + 0x10]
jae 0x4d1aa2
mov esi, edx
sub esi, dword [esp + 0x24]
add esi, dword [esp + 0x30]
jmp 0x4d1aa4
add esi, edx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov dword [eax], edx
mov eax, dword [esp + 0x74]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x58]
dec eax
cmp eax, 3
jb 0x4d1bff
mov eax, dword [esi]
lea edx, [ebx + 1]
mov dword [esp + 0x68], edx
cmp eax, dword [edx]
jne 0x4d1bff
mov edx, dword [esp + 0x18]
mov edi, edx
mov eax, dword [esp + 0x10]
mov ecx, edx
cmp dword [esp + 0x58], eax
cmovb edi, dword [esp + 0x28]
add ebx, 5
add esi, 4
mov dword [esp + 0x74], ebx
mov eax, ebx
sub eax, esi
add eax, edi
cmp eax, edx
mov edx, esi
cmovb ecx, eax
push ecx
mov ecx, ebx
call fcn.004cf320
mov ebx, eax
add esp, 4
lea eax, [ebx + esi]
cmp eax, edi
jne 0x4d1b37
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push dword [esp + 0x18]
lea ecx, [ebx + ecx]
lea edx, [esi + edx]
call fcn.004cf320
add esp, 4
add ebx, eax
mov edx, dword [ebp + 0xc]
lea esi, [ebx + 4]
mov ebx, dword [esp + 0x68]
mov ecx, ebx
mov eax, dword [esp + 0x18]
sub ecx, edx
add eax, 0xffffffe0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x68], eax
lea edi, [ecx + edx]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x58], eax
ja 0x4d1bba
mov eax, dword [edi + 0xc]
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x4d1bce
movups xmm0, xmmword [edx + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [edi + 0xc]
add ecx, 0x10
lea edi, [ecx + eax]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x40]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x4d1bca
mov eax, dword [esp + 0x74]
add ecx, 0x10
add edx, 0x20
nop dword [eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x4d1ba0
jmp 0x4d1bca
mov ecx, dword [edi + 0xc]
push eax
push dword [esp + 0x5c]
call fcn.004cf2b0
add esp, 8
mov ecx, dword [esp + 0x20]
add dword [edi + 0xc], ecx
mov edx, dword [edi + 4]
cmp ecx, 0xffff
jbe 0x4d1bed
mov eax, edx
mov dword [edi + 0x24], 1
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x28], eax
mov word [edx + 4], cx
mov eax, dword [edi + 4]
mov dword [eax], 1
jmp 0x4d21de
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x78], edx
jbe 0x4d1c8e
mov eax, dword [edi]
cmp eax, dword [ebx]
jne 0x4d1d75
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 4]
jne 0x4d1d75
push dword [esp + 0x18]
lea edx, [edi + 8]
lea ecx, [ebx + 8]
call fcn.004cf320
mov edx, dword [ebp + 0xc]
add esp, 4
lea esi, [eax + 8]
mov eax, ebx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x4d2106
nop
mov al, byte [ebx - 1]
dec edi
cmp al, byte [edi]
jne 0x4d2106
mov eax, dword [esp + 0x10]
dec ebx
add eax, dword [esp + 0x14]
inc esi
mov edx, dword [ebp + 0xc]
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4d1c60
jmp 0x4d2106
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x80], eax
jne 0x4d1d79
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
shr eax, 8
add edi, eax
mov dword [esp + 0x20], eax
cmp edi, esi
jbe 0x4d1d79
mov eax, dword [edi]
cmp eax, dword [ebx]
jne 0x4d1d79
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 4]
jne 0x4d1d79
mov ecx, dword [esp + 0x18]
lea esi, [edi + 8]
lea eax, [ebx + 8]
mov edx, esi
sub eax, esi
add eax, dword [esp + 0x28]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 8]
call fcn.004cf320
mov ecx, eax
add esp, 4
mov dword [esp + 0x80], ecx
lea eax, [esi + ecx]
cmp eax, dword [esp + 0x28]
jne 0x4d1d2c
mov esi, dword [esp + 0x10]
lea eax, [ebx + 8]
mov edx, dword [esp + 0x14]
add ecx, eax
push dword [esp + 0x18]
lea edx, [esi + edx]
call fcn.004cf320
mov ecx, dword [esp + 0x84]
add esp, 4
add ecx, eax
mov edx, dword [esp + 0x2c]
lea esi, [ecx + 8]
sub edx, dword [esp + 0x20]
sub edx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xc]
cmp ebx, edx
jbe 0x4d2106
nop word [eax + eax]
mov al, byte [ebx - 1]
dec edi
cmp al, byte [edi]
jne 0x4d2106
dec ebx
inc esi
cmp dword [esp + 0x1c], edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4d1d50
jmp 0x4d2106
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x48], edx
jbe 0x4d1dbd
mov eax, dword [ecx]
cmp eax, dword [ebx]
je 0x4d1df3
mov ecx, dword [ebp + 0xc]
mov eax, ebx
sub eax, ecx
sar eax, 8
inc eax
add ebx, eax
mov eax, dword [esp + 0x38]
cmp ebx, eax
jb 0x4d19a0
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
sub edx, ecx
mov eax, dword [esp + 0x3c]
pop edi
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], eax
mov eax, edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x88], eax
jne 0x4d1d85
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x30]
shr eax, 8
add ecx, eax
add eax, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], eax
cmp ecx, esi
jbe 0x4d1d85
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4d1d85
mov edi, dword [ebx + 5]
lea eax, [ebx + 1]
push 0xcf1bbcdc
push 0xb7a56463
push edi
push dword [eax]
mov dword [esp + 0x30], eax
call fcn.00546260
mov ecx, dword [esp + 0x50]
call fcn.00519040
push 0xcf1bbcdc
mov esi, eax
mov eax, dword [esp + 0x24]
push 0xb7a56463
push edi
push dword [eax]
call fcn.00546260
mov ecx, dword [esp + 0x5c]
call fcn.00519040
mov edi, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov edx, dword [eax + esi*4]
mov eax, ecx
shr eax, 8
movzx ecx, cl
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x44], eax
add edi, edx
movzx eax, al
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x8c]
cmp edx, esi
jbe 0x4d1f13
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x4d1ffc
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 4]
jne 0x4d1ffc
push dword [esp + 0x18]
lea edx, [edi + 8]
lea ecx, [ebx + 9]
call fcn.004cf320
mov ebx, dword [esp + 0x24]
add esp, 4
mov edx, dword [ebp + 0xc]
lea esi, [eax + 8]
mov eax, ebx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x4d2106
mov al, byte [ebx - 1]
dec edi
cmp al, byte [edi]
jne 0x4d2106
mov eax, dword [esp + 0x10]
dec ebx
add eax, dword [esp + 0x14]
inc esi
mov edx, dword [ebp + 0xc]
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4d1ee5
jmp 0x4d2106
cmp dword [esp + 0x88], ecx
jne 0x4d1ffc
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
shr eax, 8
add edi, eax
mov dword [esp + 0x44], eax
cmp edi, dword [esp + 0x1c]
jbe 0x4d1ffc
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x4d1ffc
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 4]
jne 0x4d1ffc
lea eax, [ebx + 9]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
lea esi, [edi + 8]
sub eax, esi
mov ecx, ebx
add eax, dword [esp + 0x28]
mov edx, esi
cmp eax, ebx
cmovb ecx, eax
push ecx
mov ecx, dword [esp + 0x5c]
call fcn.004cf320
mov ecx, eax
add esp, 4
mov dword [esp + 0x8c], ecx
lea eax, [esi + ecx]
cmp eax, dword [esp + 0x28]
jne 0x4d1fb2
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, dword [esp + 0x58]
push ebx
lea edx, [esi + edx]
call fcn.004cf320
mov ecx, dword [esp + 0x90]
add esp, 4
add ecx, eax
mov edx, dword [esp + 0x2c]
lea esi, [ecx + 8]
sub edx, dword [esp + 0x44]
sub edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
mov ebx, eax
mov edx, dword [ebp + 0xc]
cmp eax, edx
jbe 0x4d2106
mov al, byte [ebx - 1]
dec edi
cmp al, byte [edi]
jne 0x4d2106
dec ebx
inc esi
cmp dword [esp + 0x1c], edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4d1fd7
jmp 0x4d2106
lea eax, [ebx + 4]
mov edi, dword [esp + 0x64]
lea edx, [edi + 4]
cmp dword [esp + 0x48], esi
jae 0x4d20a5
mov esi, dword [esp + 0x18]
sub eax, edx
add eax, dword [esp + 0x28]
mov ecx, esi
cmp eax, esi
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.004cf320
mov ecx, eax
add esp, 4
lea eax, [edi + 4]
mov dword [esp + 0x8c], ecx
add eax, ecx
cmp eax, dword [esp + 0x28]
jne 0x4d2063
mov edx, dword [esp + 0x14]
lea eax, [ebx + 4]
push esi
mov esi, dword [esp + 0x14]
add ecx, eax
lea edx, [esi + edx]
call fcn.004cf320
mov ecx, dword [esp + 0x90]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x2c]
lea esi, [ecx + 4]
sub eax, dword [esp + 0x48]
cmp dword [esp + 0x1c], edi
mov edx, dword [ebp + 0xc]
sbb ecx, ecx
mov dword [esp + 0x20], eax
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x4d2106
mov al, byte [ebx - 1]
dec edi
cmp al, byte [edi]
jne 0x4d2106
dec ebx
inc esi
cmp dword [esp + 0x1c], edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4d2087
jmp 0x4d2106
push dword [esp + 0x18]
mov ecx, eax
call fcn.004cf320
mov edx, dword [ebp + 0xc]
add esp, 4
lea esi, [eax + 4]
mov eax, ebx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x4d2106
nop dword [eax]
mov al, byte [ebx - 1]
cmp al, byte [edi - 1]
jne 0x4d2106
mov eax, dword [esp + 0x10]
dec edi
add eax, dword [esp + 0x14]
dec ebx
mov edx, dword [ebp + 0xc]
inc esi
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4d20e0
mov eax, dword [esp + 0x3c]
mov edi, ebx
mov ecx, dword [esp + 0x20]
sub edi, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
add eax, 0xffffffe0
lea ecx, [edi + edx]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x40]
cmp ecx, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x68], eax
ja 0x4d219a
mov eax, dword [edi + 0xc]
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x48]
cmp eax, 0x10
jbe 0x4d21ae
mov ecx, dword [edi + 0xc]
add eax, 0xfffffff0
movups xmm0, xmmword [edx + 0x10]
add ecx, 0x10
lea edi, [ecx + eax]
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0x40]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x4d21aa
mov eax, dword [esp + 0x8c]
add ecx, 0x10
add edx, 0x20
nop
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x4d2180
jmp 0x4d21aa
mov ecx, dword [edi + 0xc]
push eax
push dword [esp + 0x68]
call fcn.004cf2b0
add esp, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
add dword [edi + 0xc], edx
mov eax, dword [edi + 4]
cmp edx, 0xffff
jbe 0x4d21d2
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x24], 1
mov word [eax + 4], dx
add ecx, 3
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
lea edx, [esi - 3]
cmp edx, 0xffff
jbe 0x4d21fd
mov eax, ecx
mov dword [edi + 0x24], 2
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x28], eax
mov word [ecx + 6], dx
add dword [edi + 4], 8
mov eax, dword [esp + 0x38]
add ebx, esi
mov ecx, ebx
mov dword [ebp + 0xc], ecx
cmp ebx, eax
ja 0x4d1d9e
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
add edi, 2
push 0xcf1bbcdc
push 0xb7a56463
push dword [edi + eax + 4]
push dword [edi + eax]
call fcn.00546260
mov ecx, dword [esp + 0x50]
call fcn.00519040
mov ecx, dword [esp + 0x34]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], edi
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.00546260
mov ecx, dword [esp + 0x50]
call fcn.00519040
mov edx, dword [esp + 0x34]
mov ecx, eax
mov esi, ebx
sub esi, dword [esp + 0x14]
lea eax, [esi - 2]
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
imul eax, dword [edi + edx], 0x9e3779b1
mov edx, dword [esp + 0x4c]
shr eax, cl
mov dword [edx + eax*4], edi
lea eax, [esi - 1]
imul edx, dword [ebx - 1], 0x9e3779b1
shr edx, cl
mov ecx, dword [esp + 0x4c]
mov dword [ecx + edx*4], eax
mov ecx, ebx
mov esi, dword [esp + 0x14]
mov eax, ebx
sub eax, esi
mov edx, eax
mov dword [esp + 0x88], eax
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
cmp edx, eax
jae 0x4d22cf
mov esi, edx
sub esi, dword [esp + 0x24]
add esi, dword [esp + 0x30]
jmp 0x4d22d1
add esi, edx
sub eax, edx
dec eax
cmp eax, 3
jb 0x4d1d92
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x4d1d92
cmp edx, dword [esp + 0x10]
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x18]
mov edi, ecx
cmovb edi, dword [esp + 0x28]
add esi, 4
sub eax, esi
mov edx, esi
add eax, edi
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.004cf320
mov ecx, eax
add esp, 4
mov dword [esp + 0x8c], ecx
lea eax, [ecx + esi]
cmp eax, edi
jne 0x4d2348
mov esi, dword [esp + 0x10]
lea eax, [ebx + 4]
mov edx, dword [esp + 0x14]
add ecx, eax
push dword [esp + 0x18]
lea edx, [esi + edx]
call fcn.004cf320
mov ecx, dword [esp + 0x90]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x44]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0xc]
cmp ebx, eax
ja 0x4d2372
movups xmm0, xmmword [ebx]
movups xmmword [ecx], xmm0
jmp 0x4d237e
push eax
push ebx
mov edx, ebx
call fcn.004cf2b0
add esp, 8
mov eax, dword [esi + 4]
lea edx, [edi - 3]
xor ecx, ecx
mov word [eax + 4], cx
mov eax, dword [esi + 4]
mov dword [eax], 1
mov ecx, dword [esi + 4]
cmp edx, 0xffff
jbe 0x4d23af
mov eax, ecx
mov dword [esi + 0x24], 2
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 6], dx
add dword [esi + 4], 8
imul eax, dword [ebx], 0x9e3779b1
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x88]
push 0xcf1bbcdc
push 0xb7a56463
shr eax, cl
mov ecx, dword [esp + 0x54]
mov dword [ecx + eax*4], esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00546260
mov ecx, dword [esp + 0x50]
call fcn.00519040
mov ecx, dword [esp + 0x34]
add ebx, edi
mov dword [ecx + eax*4], esi
mov ecx, ebx
mov eax, dword [esp + 0x38]
mov dword [ebp + 0xc], ecx
cmp ebx, eax
jbe 0x4d22a6
jmp 0x4d1d96