Function at 0x1019a611
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 0x1019a66d
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 0x1019a689
mov eax, ecx
sub eax, edi
mov dword [esp + 0x34], eax
test ebx, ebx
jle 0x1019a91a
mov eax, dword [esp + 0x70]
add eax, ebx
js 0x1019a91a
mov ebx, dword [esp + 0x34]
lea eax, [edi + ebx]
test eax, eax
js 0x1019a91a
mov eax, dword [esp + 0x70]
cmp eax, esi
jge 0x1019a91a
cmp edi, ecx
jge 0x1019a91a
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 0x1019a91a
movsd xmm2, qword [0x101cfab8]
lea ebx, [ecx + eax]
movsd xmm3, qword [0x101a5830]
mov edi, dword [ebp + 0xd4]
movss xmm1, dword [0x101cfab0]
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 0x1019a750
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 0x1019a903
mov eax, dword [esp + 0x70]
add eax, ecx
cmp dword [ebp + 0xe0], 0
je 0x1019a7ce
push dword [esp + 0x28]
push eax
push ebp
call fcn.1019a222
mov edi, dword [ebp + 0xd4]
mov edx, eax
movsd xmm2, qword [esp + 0x5c]
add esp, 0xc
movss xmm1, dword [0x101cfab0]
movsd xmm3, qword [esp + 0x58]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
cmp dword [ebp + 0xe4], 0
je 0x1019a924
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 0x1019a883
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 0x1019a8b7
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 [0x101cfab0]
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 0x1019a78a
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
inc esi
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x34]
jl 0x1019a731
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x20
mov eax, dword [esp + 0x24]
test al, 2
je 0x1019a98e
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 0x1019a969
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 0x1019a8c3
cmp byte [esp + 0x64], 0
je 0x1019a8c3
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 0x1019a962
test dword [ebp + 0xd8], 0x100
je 0x1019ac97
mov eax, edx
sar eax, 0x18
cmp byte [esp + 0x64], 0
movzx ecx, al
mov dword [esp + 0x78], ecx
je 0x1019ac78
cmp dword [ebp + 0x110], 0xc0
movzx edi, byte [esi + 2]
jl 0x1019ab44
imul edi, ecx
xor edx, edx
mov eax, edi
mov edi, 0xff
div edi
mov edi, eax
test edi, edi
jne 0x1019a9e5
mov eax, dword [ebp + 0x104]
jmp 0x1019aa1d
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 0x1019aa42
mov eax, dword [ebp + 0x108]
jmp 0x1019aa8c
mov eax, ecx
sar eax, 8
cmp dword [ebp + 0x110], 0
movzx eax, al
mov dword [esp + 0x7c], eax
je 0x1019aa8c
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 0x1019aaaf
mov ecx, dword [ebp + 0x10c]
jmp 0x1019aaf5
mov eax, ecx
sar eax, 0x10
cmp dword [ebp + 0x110], 0
movzx ecx, al
je 0x1019aaf5
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 0x1019ac74
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 0x1019ab7b
mov ecx, dword [ebp + 0x104]
jmp 0x1019abb7
mov eax, dword [ebp + 0x110]
movzx ecx, dl
test eax, eax
je 0x1019abb7
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 0x1019abc6
mov ecx, dword [ebp + 0x108]
jmp 0x1019ac03
mov eax, edx
sar eax, 8
movzx ecx, al
mov eax, dword [ebp + 0x110]
test eax, eax
je 0x1019ac03
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 0x1019ac12
mov ecx, dword [ebp + 0x10c]
jmp 0x1019ac54
mov eax, dword [esp + 0x10]
sar eax, 0x10
cmp dword [ebp + 0x110], 0
movzx ecx, al
je 0x1019ac54
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 0x1019ac8a
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 0x1019a8c3
test al, 8
je 0x1019ad23
cmp dword [esp + 0x2c], 4
jne 0x1019a8ca
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 0x1019ad03
movd xmm0, dword [ebp + 0x110]
jmp 0x1019ad0b
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 0x1019a8ca
test al, 0x30
mov eax, edx
jne 0x1019adff
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 0x1019adb8
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 0x1019a8c3
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 0x1019ada7
sar eax, 0x18
cmp byte [esp + 0x64], 0
je 0x1019b224
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 0x1019af8c
imul eax, ecx
xor edx, edx
mov ecx, 0xff
div ecx
mov ecx, eax
mov dword [esp + 0x7c], ecx
test ecx, ecx
jne 0x1019ae50
mov ecx, dword [ebp + 0x104]
mov dword [esp + 0x7c], ecx
jmp 0x1019ae86
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 0x1019aeb2
mov ecx, dword [ebp + 0x108]
mov dword [esp + 0x14], ecx
jmp 0x1019aeeb
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 0x1019af12
mov eax, dword [ebp + 0x10c]
jmp 0x1019af47
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 0x1019b0c3
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 0x1019afdb
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 0x1019b0ab
mov ecx, dword [ebp + 0x110]
movzx eax, dl
mov dword [esp + 0x7c], eax
test ecx, ecx
je 0x1019b027
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 0x1019b06c
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 0x1019b0af
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 0x1019b11c
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 0x1019ada9
movzx edx, byte [ebx + 3]
mov dword [esp + 0x1c], edx
test edi, edi
jne 0x1019b12e
movzx eax, byte [ebx + 2]
jmp 0x1019b167
test edx, edx
jne 0x1019b138
mov eax, dword [esp + 0x7c]
jmp 0x1019b167
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 0x1019b174
movzx eax, byte [ebx + 1]
jmp 0x1019b1ac
test edx, edx
jne 0x1019b17e
mov eax, dword [esp + 0x14]
jmp 0x1019b1ac
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 0x1019b1bc
movzx eax, byte [ebx]
jmp 0x1019b1f7
test edx, edx
jne 0x1019b1c6
mov eax, dword [esp + 0x18]
jmp 0x1019b1f7
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 0x1019a8bf
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 0x1019a8bf
cmp dword [esp + 0x2c], 3
jne 0x1019b2ca
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 0x1019a8bf
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 0x1019b46b
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 0x1019b307
movzx eax, byte [ebx + 2]
jmp 0x1019b350
movzx eax, cl
mov dword [esp + 0x48], eax
test edi, edi
je 0x1019b350
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 0x1019b36e
movzx ecx, byte [ebx + 1]
jmp 0x1019b3aa
mov eax, ecx
sar eax, 8
movzx ecx, al
test edi, edi
je 0x1019b3aa
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 0x1019b3cd
movzx edx, byte [ebx]
jmp 0x1019b40c
mov eax, dword [esp + 0x10]
sar eax, 0x10
movzx edx, al
test edi, edi
je 0x1019b40c
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 0x1019a8c3
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 0x1019a8c3
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 0x1019b4a5
movzx eax, byte [ebx + 2]
jmp 0x1019b4e8
movzx eax, dl
mov dword [esp + 0x48], eax
test edi, edi
je 0x1019b4e8
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 0x1019b4f5
movzx edx, byte [ebx + 1]
jmp 0x1019b535
mov eax, edx
sar eax, 8
movzx edx, al
test edi, edi
je 0x1019b535
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 0x1019b541
movzx edx, byte [ebx]
jmp 0x1019b582
mov eax, dword [esp + 0x10]
sar eax, 0x10
movzx edx, al
test edi, edi
je 0x1019b582
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 0x1019a8bf
mov esi, 0xff
mov eax, esi
sub eax, ecx
imul eax, edi
imul ecx, ecx, 0xff
jmp 0x1019b217