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

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
mov edi, dword [esp + 0x74]
mov ebx, dword [ebp + 0xd4]
mov eax, dword [ebp + 0xd8]
mov esi, dword [ebp + 0x80]
mov edx, dword [ebp + 0xac]
mov dword [esp + 0x24], eax
or eax, dword [esp + 0x80]
mov dword [esp + 0x2c], ebx
test al, 1
mov ebx, dword [esp + 0x78]
sete byte [esp + 0x64]
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], ebx
lea eax, [ecx + ebx]
cmp eax, esi
jle 0x4b195a
mov ebx, esi
sub ebx, ecx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebp + 0x84]
mov dword [esp + 0x34], eax
add eax, edi
cmp eax, ecx
jle 0x4b1976
mov eax, ecx
sub eax, edi
mov dword [esp + 0x34], eax
test ebx, ebx
jle 0x4b1c07
mov eax, dword [esp + 0x70]
add eax, ebx
js 0x4b1c07
mov ebx, dword [esp + 0x34]
lea eax, [edi + ebx]
test eax, eax
js 0x4b1c07
mov eax, dword [esp + 0x70]
cmp eax, esi
jge 0x4b1c07
cmp edi, ecx
jge 0x4b1c07
xor esi, esi
mov ecx, eax
neg ecx
test eax, eax
cmovns ecx, esi
and dword [esp + 0x80], 0
mov esi, edi
mov dword [esp + 0x40], ecx
neg esi
test edi, edi
cmovns esi, dword [esp + 0x80]
mov dword [esp + 0x38], esi
cmp esi, ebx
jge 0x4b1c07
movsd xmm2, qword [0x4d05e8]
lea ebx, [ecx + eax]
movsd xmm3, qword [0x4beb20]
mov edi, dword [ebp + 0xd4]
movss xmm1, dword [0x4d05e4]
imul eax, ecx, 3
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], 0xff
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0x58], xmm3
mov dword [esp + 0x3c], eax
cmp dword [ebp + 0xe8], 0
mov eax, dword [esp + 0x74]
lea ecx, [eax + esi]
mov dword [esp + 0x28], ecx
je 0x4b1a3d
mov ecx, dword [ebp + 0x84]
sub ecx, esi
sub ecx, eax
dec ecx
mov eax, dword [ebp + 0xcc]
imul esi, dword [esp + 0x6c]
imul ebx, edi
imul eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x80], ecx
add esi, dword [esp + 0x3c]
add esi, dword [esp + 0x68]
add ebx, eax
mov dword [esp + 0x78], esi
add ebx, dword [ebp + 0xc8]
cmp ecx, dword [esp + 0x30]
jge 0x4b1bf0
mov eax, dword [esp + 0x70]
add eax, ecx
cmp dword [ebp + 0xe0], 0
je 0x4b1abb
push dword [esp + 0x28]
push eax
push ebp
call fcn.004b150f
mov edi, dword [ebp + 0xd4]
mov edx, eax
movsd xmm2, qword [esp + 0x5c]
add esp, 0xc
movss xmm1, dword [0x4d05e4]
movsd xmm3, qword [esp + 0x58]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
cmp dword [ebp + 0xe4], 0
je 0x4b1c11
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
movzx eax, byte [esi]
add edx, ecx
add edx, eax
mov ecx, dword [esp + 0x10]
mov eax, ecx
movzx esi, byte [ebx + 2]
sar eax, 0x18
and ecx, 0xffffff
movzx eax, al
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x7c], esi
cvtps2pd xmm0, xmm0
divsd xmm0, xmm2
cvtpd2ps xmm1, xmm0
movd xmm0, eax
movzx eax, byte [ebx + 1]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], eax
mulss xmm1, xmm0
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
movzx ecx, byte [ebx]
cmp edi, 4
jne 0x4b1b70
movzx eax, byte [ebx + 3]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, dword [esp + 0x1c]
shl eax, 8
or eax, esi
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x84]
push edx
push dword [esp + 0x30]
push eax
call dword [ebp + 0xb8]
mov ecx, eax
mov edx, eax
sar ecx, 0x10
mov dword [esp + 0x7c], ecx
mov ecx, eax
sar edx, 8
sar ecx, 0x18
mov byte [ebx + 3], cl
mov ecx, dword [esp + 0x7c]
jmp 0x4b1ba4
or ecx, 0xffffff00
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x80]
shl ecx, 8
or ecx, dword [esp + 0x7c]
push ecx
push edx
push dword [esp + 0x30]
push eax
call dword [ebp + 0xb8]
mov edx, eax
mov ecx, eax
sar edx, 8
sar ecx, 0x10
mov byte [ebx + 2], al
mov byte [ebx + 1], dl
mov byte [ebx], cl
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov edi, dword [ebp + 0xd4]
add esi, 3
movsd xmm2, qword [esp + 0x50]
add ebx, edi
movss xmm1, dword [0x4d05e4]
inc ecx
movsd xmm3, qword [esp + 0x58]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], ecx
cmp ecx, dword [esp + 0x30]
jl 0x4b1a77
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
inc esi
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x34]
jl 0x4b1a1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x20
mov eax, dword [esp + 0x24]
test al, 2
je 0x4b1c7b
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
add ecx, eax
movzx eax, byte [esi]
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x4b1c56
xor byte [ebx + 2], dl
mov eax, edx
sar eax, 8
xor byte [ebx + 1], al
mov eax, edx
sar eax, 0x10
xor byte [ebx], al
jmp 0x4b1bb0
cmp byte [esp + 0x64], 0
je 0x4b1bb0
mov al, byte [ebp + 0x104]
xor byte [ebx + 2], al
mov al, byte [ebp + 0x108]
xor byte [ebx + 1], al
mov al, byte [ebp + 0x10c]
jmp 0x4b1c4f
test dword [ebp + 0xd8], 0x100
je 0x4b1f84
mov eax, edx
sar eax, 0x18
cmp byte [esp + 0x64], 0
movzx ecx, al
mov dword [esp + 0x78], ecx
je 0x4b1f65
cmp dword [ebp + 0x110], 0xc0
movzx edi, byte [esi + 2]
jl 0x4b1e31
imul edi, ecx
xor edx, edx
mov eax, edi
mov edi, 0xff
div edi
mov edi, eax
test edi, edi
jne 0x4b1cd2
mov eax, dword [ebp + 0x104]
jmp 0x4b1d0a
mov eax, dword [esp + 0x10]
mov edx, 0xff
mov ecx, dword [ebp + 0x104]
sub edx, edi
imul edx, dword [ebp + 0x110]
movzx eax, al
imul eax, edi
imul ecx, edx
imul eax, eax, 0xff
add eax, ecx
imul ecx, edi, 0xff
add ecx, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x78]
mov byte [ebx + 2], al
xor edx, edx
movzx eax, byte [esi + 1]
imul eax, ecx
mov ecx, 0xff
div ecx
mov ecx, dword [esp + 0x10]
mov edi, eax
test edi, edi
jne 0x4b1d2f
mov eax, dword [ebp + 0x108]
jmp 0x4b1d79
mov eax, ecx
sar eax, 8
cmp dword [ebp + 0x110], 0
movzx eax, al
mov dword [esp + 0x7c], eax
je 0x4b1d79
mov ecx, dword [esp + 0x7c]
mov edx, 0xff
mov eax, dword [ebp + 0x108]
sub edx, edi
imul edx, dword [ebp + 0x110]
imul ecx, edi
imul eax, edx
imul ecx, ecx, 0xff
add eax, ecx
imul ecx, edi, 0xff
add ecx, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x78]
xor edx, edx
mov byte [ebx + 1], al
movzx eax, byte [esi]
imul eax, edi
div dword [esp + 0x20]
mov dword [esp + 0x78], eax
test eax, eax
jne 0x4b1d9c
mov ecx, dword [ebp + 0x10c]
jmp 0x4b1de2
mov eax, ecx
sar eax, 0x10
cmp dword [ebp + 0x110], 0
movzx ecx, al
je 0x4b1de2
imul ecx, dword [esp + 0x78]
mov edx, 0xff
sub edx, dword [esp + 0x78]
imul edx, dword [ebp + 0x110]
mov eax, dword [ebp + 0x10c]
imul ecx, ecx, 0xff
imul eax, edx
add eax, ecx
imul ecx, dword [esp + 0x78], 0xff
add ecx, edx
cdq
idiv ecx
mov ecx, eax
mov byte [ebx], cl
movzx eax, byte [esi]
movzx ecx, byte [esi + 2]
add ecx, eax
movzx eax, byte [esi + 1]
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, edi
mov edi, 0xff
divsd xmm1, xmm2
mov eax, edi
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si ecx, xmm1
sub eax, ecx
imul ecx, ecx, 0xff
imul eax, dword [ebp + 0x110]
add eax, ecx
cdq
idiv edi
jmp 0x4b1f61
movzx eax, byte [esi + 1]
movzx ecx, byte [esi]
add eax, edi
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, dword [esp + 0x78]
divsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si edi, xmm1
test edi, edi
jne 0x4b1e68
mov ecx, dword [ebp + 0x104]
jmp 0x4b1ea4
mov eax, dword [ebp + 0x110]
movzx ecx, dl
test eax, eax
je 0x4b1ea4
mov edx, 0xff
imul ecx, edi
sub edx, edi
imul edx, eax
mov eax, dword [ebp + 0x104]
imul ecx, ecx, 0xff
imul eax, edx
add eax, ecx
imul ecx, edi, 0xff
add ecx, edx
cdq
idiv ecx
mov edx, dword [esp + 0x10]
mov ecx, eax
mov byte [ebx + 2], cl
test edi, edi
jne 0x4b1eb3
mov ecx, dword [ebp + 0x108]
jmp 0x4b1ef0
mov eax, edx
sar eax, 8
movzx ecx, al
mov eax, dword [ebp + 0x110]
test eax, eax
je 0x4b1ef0
mov edx, 0xff
imul ecx, edi
sub edx, edi
imul edx, eax
mov eax, dword [ebp + 0x108]
imul ecx, ecx, 0xff
imul eax, edx
add eax, ecx
imul ecx, edi, 0xff
add ecx, edx
cdq
idiv ecx
mov ecx, eax
mov byte [ebx + 1], cl
test edi, edi
jne 0x4b1eff
mov ecx, dword [ebp + 0x10c]
jmp 0x4b1f41
mov eax, dword [esp + 0x10]
sar eax, 0x10
cmp dword [ebp + 0x110], 0
movzx ecx, al
je 0x4b1f41
mov eax, dword [ebp + 0x10c]
mov edx, 0xff
sub edx, edi
imul ecx, edi
imul edx, dword [ebp + 0x110]
imul ecx, ecx, 0xff
imul eax, edx
add eax, ecx
imul ecx, edi, 0xff
add ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, 0xff
mov byte [ebx], cl
sub eax, edi
imul ecx, edi, 0xff
imul eax, dword [ebp + 0x110]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov ecx, eax
jmp 0x4b1f77
mov eax, edx
mov byte [ebx + 2], dl
sar eax, 8
mov byte [ebx + 1], al
mov eax, edx
sar eax, 0x10
mov byte [ebx], al
push 3
pop edx
mov eax, ebx
mov byte [eax + edx], cl
jmp 0x4b1bb0
test al, 8
je 0x4b2010
cmp dword [esp + 0x2c], 4
jne 0x4b1bb7
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
add ecx, eax
movzx eax, byte [esi]
add ecx, eax
mov eax, edx
sar eax, 0x18
cmp byte [esp + 0x64], 0
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x80]
cvtps2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm2, xmm3
cvtpd2ps xmm1, xmm0
cvtps2pd xmm0, xmm1
subsd xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm1, xmm0
je 0x4b1ff0
movd xmm0, dword [ebp + 0x110]
jmp 0x4b1ff8
movzx eax, byte [ebx + 3]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm2
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov byte [ebx + 3], al
jmp 0x4b1bb7
test al, 0x30
mov eax, edx
jne 0x4b20ec
sar eax, 8
mov ecx, 0xff
movzx eax, al
mov dword [esp + 0x78], eax
mov eax, edx
sar eax, 0x10
movzx edi, al
movzx eax, byte [esi + 2]
movzx edx, dl
sub ecx, eax
imul edx, eax
cmp byte [esp + 0x64], 0
je 0x4b20a5
mov eax, dword [ebp + 0x104]
imul eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
mov edx, dword [esp + 0x78]
mov byte [ebx + 2], al
mov eax, 0xff
movzx ecx, byte [esi + 1]
sub eax, ecx
imul edx, ecx
imul eax, dword [ebp + 0x108]
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
mov byte [ebx + 1], al
mov eax, 0xff
movzx ecx, byte [esi]
sub eax, ecx
imul eax, dword [ebp + 0x10c]
imul edi, ecx
add eax, edi
cdq
mov ecx, 0xff
idiv ecx
mov byte [ebx], al
jmp 0x4b1bb0
movzx eax, byte [ebx + 2]
imul eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
mov byte [ebx + 2], al
mov eax, ecx
movzx edx, byte [esi + 1]
movzx ecx, byte [ebx + 1]
sub eax, edx
imul edx, dword [esp + 0x78]
imul eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
mov byte [ebx + 1], al
mov eax, ecx
movzx edx, byte [esi]
movzx ecx, byte [ebx]
sub eax, edx
imul eax, ecx
imul edi, edx
jmp 0x4b2094
sar eax, 0x18
cmp byte [esp + 0x64], 0
je 0x4b2511
mov edi, dword [ebp + 0x110]
movzx ecx, byte [esi + 2]
movzx eax, al
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x1c], eax
cmp edi, 0xc0
jl 0x4b2279
imul eax, ecx
xor edx, edx
mov ecx, 0xff
div ecx
mov ecx, eax
mov dword [esp + 0x7c], ecx
test ecx, ecx
jne 0x4b213d
mov ecx, dword [ebp + 0x104]
mov dword [esp + 0x7c], ecx
jmp 0x4b2173
mov eax, dword [esp + 0x10]
mov edx, 0xff
sub edx, ecx
movzx eax, al
imul eax, ecx
mov ecx, dword [ebp + 0x104]
imul edx, edi
imul eax, eax, 0xff
imul ecx, edx
add eax, ecx
imul ecx, dword [esp + 0x7c], 0xff
add ecx, edx
cdq
idiv ecx
mov dword [esp + 0x7c], eax
movzx eax, byte [esi + 1]
xor edx, edx
mov dword [esp + 0x48], eax
mov ecx, 0xff
imul eax, dword [esp + 0x1c]
div ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4b219f
mov ecx, dword [ebp + 0x108]
mov dword [esp + 0x14], ecx
jmp 0x4b21d8
mov eax, dword [esp + 0x10]
mov edx, 0xff
sar eax, 8
sub edx, ecx
movzx eax, al
imul eax, ecx
mov ecx, dword [ebp + 0x108]
imul edx, edi
imul eax, eax, 0xff
imul ecx, edx
add eax, ecx
imul ecx, dword [esp + 0x18], 0xff
add ecx, edx
cdq
idiv ecx
mov dword [esp + 0x14], eax
movzx eax, byte [esi]
xor edx, edx
mov dword [esp + 0x44], eax
mov ecx, 0xff
imul eax, dword [esp + 0x1c]
div ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4b21ff
mov eax, dword [ebp + 0x10c]
jmp 0x4b2234
mov eax, dword [esp + 0x10]
mov edx, 0xff
sar eax, 0x10
sub edx, ecx
movzx eax, al
imul eax, ecx
mov ecx, dword [ebp + 0x10c]
imul edx, edi
imul eax, eax, 0xff
imul ecx, edx
add eax, ecx
imul ecx, dword [esp + 0x18], 0xff
add ecx, edx
cdq
idiv ecx
movzx ecx, byte [esi + 2]
add ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, 0xff
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, dword [esp + 0x1c]
divsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si ecx, xmm1
sub eax, ecx
imul eax, edi
imul ecx, ecx, 0xff
jmp 0x4b23b0
movzx eax, byte [esi + 1]
add eax, dword [esp + 0x7c]
movzx ecx, byte [esi]
movd xmm0, dword [esp + 0x1c]
add ecx, eax
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
cvtps2pd xmm0, xmm1
divsd xmm0, xmm2
cvttsd2si edi, xmm0
test edi, edi
jne 0x4b22c8
mov eax, dword [ebp + 0x104]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10c]
jmp 0x4b2398
mov ecx, dword [ebp + 0x110]
movzx eax, dl
mov dword [esp + 0x7c], eax
test ecx, ecx
je 0x4b2314
mov eax, dword [ebp + 0x104]
mov edx, 0xff
sub edx, edi
imul edx, ecx
mov ecx, edi
imul ecx, dword [esp + 0x7c]
imul eax, edx
imul ecx, ecx, 0xff
add eax, ecx
imul ecx, edi, 0xff
add ecx, edx
cdq
idiv ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x110]
mov dword [esp + 0x7c], eax
mov eax, edx
sar eax, 8
movzx eax, al
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4b2359
mov eax, dword [ebp + 0x108]
mov edx, 0xff
sub edx, edi
imul edx, ecx
mov ecx, edi
imul ecx, dword [esp + 0x14]
imul eax, edx
imul ecx, ecx, 0xff
add eax, ecx
imul ecx, edi, 0xff
add ecx, edx
cdq
idiv ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, edx
sar eax, 0x10
movzx ecx, al
mov eax, dword [ebp + 0x110]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x4b239c
mov edx, 0xff
imul ecx, edi
sub edx, edi
imul edx, eax
mov eax, dword [ebp + 0x10c]
imul ecx, ecx, 0xff
imul eax, edx
add eax, ecx
imul ecx, edi, 0xff
add ecx, edx
cdq
idiv ecx
mov dword [esp + 0x18], eax
mov eax, 0xff
sub eax, edi
imul eax, dword [ebp + 0x110]
imul ecx, edi, 0xff
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
cmp dword [esp + 0x2c], 3
mov edi, eax
jne 0x4b2409
movzx eax, byte [ebx + 2]
sub ecx, edi
mov edx, dword [esp + 0x7c]
imul eax, ecx
imul edx, edi
add eax, edx
cdq
idiv dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 1]
imul eax, ecx
imul edx, edi
add eax, edx
cdq
idiv dword [esp + 0x20]
mov byte [ebx + 1], al
movzx eax, byte [ebx]
imul eax, ecx
mov ecx, dword [esp + 0x18]
imul ecx, edi
add eax, ecx
jmp 0x4b2096
movzx edx, byte [ebx + 3]
mov dword [esp + 0x1c], edx
test edi, edi
jne 0x4b241b
movzx eax, byte [ebx + 2]
jmp 0x4b2454
test edx, edx
jne 0x4b2425
mov eax, dword [esp + 0x7c]
jmp 0x4b2454
movzx eax, byte [ebx + 2]
mov esi, ecx
mov ecx, dword [esp + 0x7c]
sub esi, edi
imul eax, esi
imul ecx, edi
imul esi, edx
imul eax, edx
imul ecx, ecx, 0xff
add eax, ecx
imul ecx, edi, 0xff
cdq
add esi, ecx
idiv esi
mov edx, dword [esp + 0x1c]
mov byte [ebx + 2], al
test edi, edi
jne 0x4b2461
movzx eax, byte [ebx + 1]
jmp 0x4b2499
test edx, edx
jne 0x4b246b
mov eax, dword [esp + 0x14]
jmp 0x4b2499
movzx eax, byte [ebx + 1]
mov esi, 0xff
mov ecx, dword [esp + 0x14]
sub esi, edi
imul eax, esi
imul ecx, edi
imul esi, edx
imul eax, edx
imul ecx, ecx, 0xff
add eax, ecx
imul ecx, edi, 0xff
cdq
add esi, ecx
idiv esi
mov edx, dword [esp + 0x1c]
mov byte [ebx + 1], al
test edi, edi
jne 0x4b24a9
movzx eax, byte [ebx]
jmp 0x4b24e4
test edx, edx
jne 0x4b24b3
mov eax, dword [esp + 0x18]
jmp 0x4b24e4
movzx eax, byte [ebx]
mov esi, 0xff
mov ecx, dword [esp + 0x18]
sub esi, edi
imul eax, esi
imul ecx, edi
imul esi, edx
imul eax, edx
imul ecx, ecx, 0xff
add eax, ecx
imul ecx, edi, 0xff
cdq
add esi, ecx
idiv esi
mov edx, dword [esp + 0x1c]
mov byte [ebx], al
mov eax, dword [esp + 0x24]
test al, 0x10
je 0x4b1bac
mov esi, 0xff
mov eax, esi
sub eax, edi
imul eax, edx
imul ecx, edi, 0xff
add eax, ecx
cdq
idiv esi
mov byte [ebx + 3], al
jmp 0x4b1bac
cmp dword [esp + 0x2c], 3
jne 0x4b25b7
movzx edi, al
xor edx, edx
movzx eax, byte [esi + 2]
mov ecx, 0xff
imul eax, edi
div ecx
mov edx, ecx
movzx ecx, byte [ebx + 2]
sub edx, eax
imul edx, ecx
mov ecx, dword [esp + 0x10]
movzx ecx, cl
imul eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor edx, edx
mov byte [ebx + 2], al
movzx eax, byte [esi + 1]
imul eax, edi
div ecx
mov ecx, dword [esp + 0x10]
sar ecx, 8
movzx esi, cl
mov ecx, 0xff
sub ecx, eax
imul esi, eax
movzx eax, byte [ebx + 1]
imul eax, ecx
mov ecx, 0xff
add eax, esi
cdq
idiv ecx
xor edx, edx
mov byte [ebx + 1], al
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
imul eax, edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
sar ecx, 0x10
movzx esi, cl
div edi
mov edx, edi
imul esi, eax
sub edx, eax
movzx eax, byte [ebx]
imul eax, edx
add eax, esi
cdq
idiv edi
mov byte [ebx], al
jmp 0x4b1bac
cmp byte [ebx + 3], 0xc0
movzx edi, byte [ebx + 3]
movzx eax, al
mov dword [esp + 0x7c], eax
movzx eax, byte [esi + 2]
mov dword [esp + 0x48], eax
jb 0x4b2758
imul eax, dword [esp + 0x7c]
xor edx, edx
mov ecx, 0xff
div ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4b25f4
movzx eax, byte [ebx + 2]
jmp 0x4b263d
movzx eax, cl
mov dword [esp + 0x48], eax
test edi, edi
je 0x4b263d
movzx eax, byte [ebx + 2]
mov edx, 0xff
mov ecx, dword [esp + 0x48]
mov esi, edi
imul ecx, dword [esp + 0x1c]
sub edx, dword [esp + 0x1c]
imul eax, edi
imul esi, edx
imul ecx, ecx, 0xff
imul eax, edx
add eax, ecx
imul ecx, dword [esp + 0x1c], 0xff
cdq
add esi, ecx
mov ecx, dword [esp + 0x10]
idiv esi
mov esi, dword [esp + 0x78]
mov byte [ebx + 2], al
xor edx, edx
movzx eax, byte [esi + 1]
imul eax, dword [esp + 0x7c]
div dword [esp + 0x20]
mov edx, eax
test edx, edx
jne 0x4b265b
movzx ecx, byte [ebx + 1]
jmp 0x4b2697
mov eax, ecx
sar eax, 8
movzx ecx, al
test edi, edi
je 0x4b2697
movzx eax, byte [ebx + 1]
mov esi, 0xff
sub esi, edx
imul ecx, edx
imul eax, esi
imul esi, edi
imul ecx, ecx, 0xff
imul eax, edi
add eax, ecx
imul ecx, edx, 0xff
cdq
add esi, ecx
idiv esi
mov esi, dword [esp + 0x78]
mov ecx, eax
mov byte [ebx + 1], cl
xor edx, edx
movzx eax, byte [esi]
mov ecx, 0xff
imul eax, dword [esp + 0x7c]
div ecx
mov ecx, eax
mov dword [esp + 0x48], ecx
test ecx, ecx
jne 0x4b26ba
movzx edx, byte [ebx]
jmp 0x4b26f9
mov eax, dword [esp + 0x10]
sar eax, 0x10
movzx edx, al
test edi, edi
je 0x4b26f9
movzx eax, byte [ebx]
mov esi, 0xff
sub esi, ecx
imul ecx, edx
imul eax, esi
imul esi, edi
imul ecx, ecx, 0xff
imul eax, edi
add eax, ecx
imul ecx, dword [esp + 0x48], 0xff
cdq
add esi, ecx
idiv esi
mov esi, dword [esp + 0x78]
mov edx, eax
mov eax, dword [esp + 0x24]
mov byte [ebx], dl
test al, 0x10
je 0x4b1bb0
movzx eax, byte [esi]
movzx ecx, byte [esi + 2]
add ecx, eax
movzx eax, byte [esi + 1]
add ecx, eax
mov eax, 0xff
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, dword [esp + 0x7c]
divsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si ecx, xmm1
sub eax, ecx
imul ecx, ecx, 0xff
imul eax, edi
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov byte [ebx + 3], al
jmp 0x4b1bb0
movzx eax, byte [esi + 1]
add eax, dword [esp + 0x48]
movzx ecx, byte [esi]
movd xmm0, dword [esp + 0x7c]
add ecx, eax
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
cvtps2pd xmm0, xmm1
divsd xmm0, xmm2
cvttsd2si ecx, xmm0
mov dword [esp + 0x7c], ecx
test ecx, ecx
jne 0x4b2792
movzx eax, byte [ebx + 2]
jmp 0x4b27d5
movzx eax, dl
mov dword [esp + 0x48], eax
test edi, edi
je 0x4b27d5
movzx eax, byte [ebx + 2]
mov esi, 0xff
sub esi, ecx
imul ecx, dword [esp + 0x48]
imul eax, esi
imul esi, edi
imul ecx, ecx, 0xff
imul eax, edi
add eax, ecx
cvttsd2si ecx, xmm0
cdq
imul ecx, ecx, 0xff
add esi, ecx
mov ecx, dword [esp + 0x7c]
idiv esi
mov edx, dword [esp + 0x10]
mov byte [ebx + 2], al
test ecx, ecx
jne 0x4b27e2
movzx edx, byte [ebx + 1]
jmp 0x4b2822
mov eax, edx
sar eax, 8
movzx edx, al
test edi, edi
je 0x4b2822
movzx eax, byte [ebx + 1]
mov esi, 0xff
sub esi, ecx
imul edx, ecx
imul eax, esi
imul esi, edi
imul ecx, edx, 0xff
imul eax, edi
add eax, ecx
cvttsd2si ecx, xmm0
cdq
imul ecx, ecx, 0xff
add esi, ecx
mov ecx, dword [esp + 0x7c]
idiv esi
mov edx, eax
mov byte [ebx + 1], dl
test ecx, ecx
jne 0x4b282e
movzx edx, byte [ebx]
jmp 0x4b286f
mov eax, dword [esp + 0x10]
sar eax, 0x10
movzx edx, al
test edi, edi
je 0x4b286f
movzx eax, byte [ebx]
mov esi, 0xff
sub esi, ecx
imul edx, ecx
imul eax, esi
imul esi, edi
imul ecx, edx, 0xff
imul eax, edi
add eax, ecx
cvttsd2si ecx, xmm0
cdq
imul ecx, ecx, 0xff
add esi, ecx
mov ecx, dword [esp + 0x7c]
idiv esi
mov edx, eax
mov eax, dword [esp + 0x24]
mov byte [ebx], dl
test al, 0x10
je 0x4b1bac
mov esi, 0xff
mov eax, esi
sub eax, ecx
imul eax, edi
imul ecx, ecx, 0xff
jmp 0x4b2504