Function at 0x100b6300
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc8
fild dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
fld qword [0x10142278]
mov ecx, dword [esp + 0xe4]
add eax, 0xfffffffe
fmul st(1), st(0)
add ecx, 0xfffffffe
cmp dword [esp + 0xd4], 0
fild dword [esp + 0xd0]
mov dword [esp + 0x88], eax
mov dword [esp + 0xb0], ecx
fdivp st(2)
mov dword [esp + 0x5c], 0
fxch st(1)
fstp dword [esp + 0x78]
fimul dword [esp + 0xe4]
fidiv dword [esp + 0xd4]
fstp dword [esp + 0x74]
jle 0x100b6dce
mov edx, dword [esp + 0xd8]
fld dword [esp + 0x78]
fld dword [esp + 0x74]
push ebx
fld1
push ebp
push esi
push edi
mov edi, dword [esp + 0xdc]
lea eax, [edx*4]
mov dword [esp + 0xd4], eax
mov dword [esp + 0x80], edi
fild dword [esp + 0x6c]
fmul st(2)
call fcn.10140710
fild dword [esp + 0x6c]
mov esi, eax
fadd st(1)
fmul st(2)
call fcn.10140710
mov edx, dword [esp + 0xec]
mov ecx, esi
and esi, 0xf
mov dword [esp + 0x7c], esi
mov esi, eax
sar esi, 4
sar ecx, 4
mov dword [esp + 0xd0], esi
sub esi, ecx
imul ecx, dword [esp + 0xf8]
and eax, 0xf
cmp dword [esp + 0xe0], 0
lea ebp, [edx + ecx*4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x68], 0
jle 0x100b6d99
fstp st(1)
mov dword [esp + 0x70], edi
fild dword [esp + 0x68]
fmul st(2)
call fcn.10140710
fild dword [esp + 0x68]
mov edi, eax
fadd st(1)
fmul st(2)
call fcn.10140710
mov ebx, eax
and eax, 0xf
sar ebx, 4
mov edx, edi
sar edx, 4
mov dword [esp + 0x44], eax
and edi, 0xf
mov eax, ebx
sub eax, edx
cmp ebx, dword [esp + 0x98]
mov ecx, edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
jg 0x100b6d6b
mov edi, dword [esp + 0xc0]
cmp dword [esp + 0xd0], edi
jg 0x100b6d6b
shl eax, 4
fstp st(1)
sub eax, ecx
fstp st(0)
add eax, dword [esp + 0x44]
mov ecx, esi
imul esi, dword [esp + 0xf8]
shl ecx, 4
sub ecx, dword [esp + 0x7c]
mov dword [esp + 0xa0], esi
add ecx, dword [esp + 0x74]
imul eax, ecx
mov ecx, dword [ebp + ebx*4]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + edx*4]
add edx, esi
add esi, ebx
mov esi, dword [ebp + esi*4]
lea edx, [ebp + edx*4]
mov ebx, 0x10
sub ebx, dword [esp + 0x7c]
mov ebp, 0x10
sub ebp, dword [esp + 0x40]
mov edi, ebx
mov dword [esp + 0x58], ebx
imul ebx, dword [esp + 0x44]
imul edi, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x74]
imul ebx, ebp
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x44]
imul ebx, ebp
mov ebp, eax
shr ebp, 0x18
imul ebp, edi
mov dword [esp + 0xcc], ebp
mov ebp, eax
shr eax, 8
and eax, 0xff
imul eax, edi
shr ebp, 0x10
and ebp, 0xff
imul ebp, edi
mov edi, ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x24]
shr edi, 0x18
imul edi, eax
mov dword [esp + 0xc4], edi
mov edi, ecx
shr ecx, 8
and ecx, 0xff
imul ecx, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xb8], edx
mov edx, dword [edx]
shr edi, 0x10
mov ecx, edx
shr ecx, 0x18
and edi, 0xff
imul edi, eax
mov eax, dword [esp + 0x20]
imul ecx, eax
mov dword [esp + 0xbc], ecx
mov ecx, edx
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
imul ecx, eax
and edx, 0xff
imul edx, eax
mov eax, esi
shr eax, 0x18
mov dword [esp + 0xac], ebp
imul eax, ebx
mov dword [esp + 0xa4], edi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], edx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0xb4], eax
mov eax, esi
shr eax, 0x10
shr esi, 8
and eax, 0xff
and esi, 0xff
imul eax, ebx
imul esi, ebx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc8], esi
xor esi, esi
cmp eax, 1
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
jle 0x100b6758
mov ebx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x48]
add ecx, ebx
lea edx, [ebp + ecx*4 + 4]
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x50]
xor edx, edx
lea eax, [edx + 1]
cmp edi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
jle 0x100b673e
lea ecx, [edi - 1]
cmp ecx, 2
jl 0x100b66d9
mov edi, dword [esp + 0x18]
add ecx, 0xfffffffe
shr ecx, 1
inc ecx
lea eax, [ecx + ecx + 1]
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov esi, eax
shr esi, 0x18
shl esi, 8
add edx, esi
mov esi, eax
shr esi, 0x10
shr eax, 8
and esi, 0xff
and eax, 0xff
shl esi, 8
add dword [esp + 0x10], esi
shl eax, 8
add dword [esp + 0x3c], eax
mov eax, dword [edi + 4]
mov esi, eax
shr esi, 0x18
shl esi, 8
add dword [esp + 0x14], esi
mov esi, eax
shr esi, 0x10
shr eax, 8
and esi, 0xff
and eax, 0xff
shl esi, 8
add dword [esp + 0x30], esi
shl eax, 8
add dword [esp + 0x34], eax
add edi, 8
sub ecx, 1
jne 0x100b6663
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0xf8]
xor esi, esi
cmp eax, edi
jge 0x100b6718
mov ecx, dword [esp + 0x1c]
add ecx, eax
add ecx, dword [esp + 0x48]
mov eax, dword [ebp + ecx*4]
mov ecx, eax
shr ecx, 0x18
shl ecx, 8
add dword [esp + 0x60], ecx
mov ecx, eax
shr ecx, 0x10
shr eax, 8
and ecx, 0xff
and eax, 0xff
shl ecx, 8
add dword [esp + 0x64], ecx
shl eax, 8
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edx, eax
add dword [esp + 0x60], edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
add ecx, edx
add dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x34]
add eax, ecx
add dword [esp + 0x5c], eax
add dword [esp + 0x1c], ebx
lea eax, [ebx*4]
add dword [esp + 0x18], eax
sub dword [esp + 0x24], 1
jne 0x100b6620
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x54]
shl edi, 4
shl ebx, 4
shl edx, 4
shl ecx, 4
cmp eax, 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], 1
jle 0x100b68fc
lea esi, [eax - 1]
cmp esi, 2
mov dword [esp + 0x58], esi
jl 0x100b6885
mov eax, dword [esp + 0xf8]
mov esi, dword [esp + 0x48]
add esi, eax
lea esi, [ebp + esi*4]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x48]
lea eax, [esi + eax*2]
lea eax, [ebp + eax*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
add eax, 0xfffffffe
shr eax, 1
inc eax
mov dword [esp + 0x40], eax
lea eax, [eax + eax + 1]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov esi, eax
shr esi, 0x18
imul esi, edi
add dword [esp + 0x34], esi
mov esi, eax
shr eax, 8
and eax, 0xff
imul eax, edi
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
shr esi, 0x10
and esi, 0xff
imul esi, edi
add dword [esp + 0x30], esi
mov esi, eax
shr esi, 0x18
imul esi, edi
add dword [esp + 0x3c], esi
mov esi, eax
shr eax, 8
and eax, 0xff
imul eax, edi
add dword [esp + 0x20], eax
mov eax, dword [esp + 0xf8]
shr esi, 0x10
and esi, 0xff
imul esi, edi
add dword [esp + 0x2c], esi
add eax, eax
add eax, eax
add eax, eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x40], 1
jne 0x100b67f7
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x38]
cmp esi, eax
jge 0x100b68c8
imul esi, dword [esp + 0xf8]
add esi, dword [esp + 0x48]
mov eax, dword [ebp + esi*4]
mov esi, eax
shr esi, 0x18
imul esi, edi
mov dword [esp + 0x14], esi
mov esi, eax
shr esi, 0x10
shr eax, 8
and esi, 0xff
and eax, 0xff
imul esi, edi
imul eax, edi
mov dword [esp + 0x10], eax
jmp 0x100b68cc
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
add eax, edi
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add eax, edi
mov edi, dword [esp + 0x20]
add esi, eax
mov eax, dword [esp + 0x28]
add eax, edi
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], esi
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edi
mov edi, 1
cmp eax, edi
jle 0x100b6a5a
dec eax
cmp eax, 2
jl 0x100b69eb
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0xf8]
add edi, esi
add eax, 0xfffffffe
lea edi, [ebp + edi*4]
shr eax, 1
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xf8]
inc eax
lea esi, [esi + edi*2]
mov dword [esp + 0x40], eax
lea esi, [ebp + esi*4]
lea eax, [eax + eax + 1]
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov esi, eax
shr esi, 0x18
imul esi, ebx
add dword [esp + 0x2c], esi
mov esi, eax
shr eax, 8
and eax, 0xff
imul eax, ebx
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
shr esi, 0x10
and esi, 0xff
imul esi, ebx
add dword [esp + 0x1c], esi
mov esi, eax
shr esi, 0x18
imul esi, ebx
add dword [esp + 0x18], esi
mov esi, eax
shr eax, 8
and eax, 0xff
imul eax, ebx
add dword [esp + 0x30], eax
shr esi, 0x10
and esi, 0xff
imul esi, ebx
add dword [esp + 0x34], esi
mov eax, edi
add eax, eax
add eax, eax
add eax, eax
add dword [esp + 0x20], eax
add dword [esp + 0x28], eax
sub dword [esp + 0x40], 1
jne 0x100b6966
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
cmp edi, dword [esp + 0x54]
jge 0x100b6a32
imul edi, dword [esp + 0xf8]
add edi, dword [esp + 0x4c]
mov edi, dword [ebp + edi*4]
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x58]
shr edi, 0x18
imul edi, ebx
add dword [esp + 0x14], edi
mov edi, eax
shr edi, 0x10
shr eax, 8
and edi, 0xff
and eax, 0xff
imul edi, ebx
imul eax, ebx
add esi, edi
add dword [esp + 0x10], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add eax, edi
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
add eax, edi
mov edi, dword [esp + 0x30]
add esi, eax
mov eax, dword [esp + 0x3c]
add eax, edi
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
xor ebx, ebx
lea edi, [ebx + 1]
cmp eax, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jle 0x100b6b92
lea ebx, [eax - 1]
cmp ebx, 2
jl 0x100b6b2b
mov eax, dword [esp + 0x48]
lea eax, [ebp + eax*4 + 4]
mov dword [esp + 0x44], eax
lea eax, [ebx - 2]
shr eax, 1
inc eax
mov dword [esp + 0x4c], eax
lea eax, [eax + eax + 1]
mov dword [esp + 0x38], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov edi, eax
shr edi, 0x18
imul edi, edx
add dword [esp + 0x20], edi
mov edi, eax
shr eax, 8
shr edi, 0x10
and eax, 0xff
and edi, 0xff
imul eax, edx
add dword [esp + 0x18], eax
imul edi, edx
add dword [esp + 0x28], edi
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov edi, eax
shr edi, 0x18
imul edi, edx
add dword [esp + 0x24], edi
add dword [esp + 0x44], 8
mov edi, eax
shr edi, 0x10
shr eax, 8
and edi, 0xff
and eax, 0xff
imul edi, edx
add dword [esp + 0x2c], edi
imul eax, edx
add dword [esp + 0x1c], eax
sub dword [esp + 0x4c], 1
jne 0x100b6ab0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp edi, eax
jge 0x100b6b6a
mov eax, dword [esp + 0x48]
add edi, eax
mov eax, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x18
imul edi, edx
add dword [esp + 0x14], edi
mov edi, eax
shr edi, 0x10
shr eax, 8
and edi, 0xff
and eax, 0xff
imul edi, edx
imul eax, edx
add esi, edi
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add edi, edx
add dword [esp + 0x14], edi
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add edx, edi
mov edi, dword [esp + 0x1c]
add esi, edx
mov edx, dword [esp + 0x18]
add edx, edi
add dword [esp + 0x10], edx
mov edx, 1
cmp eax, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jle 0x100b6cb9
lea edi, [eax - 1]
cmp edi, 2
jl 0x100b6c51
mov edx, dword [esp + 0xb8]
lea eax, [edi - 2]
shr eax, 1
add edx, 4
inc eax
mov dword [esp + 0x4c], eax
lea eax, [eax + eax + 1]
mov dword [esp + 0x38], eax
nop
mov eax, dword [edx]
mov edi, eax
shr edi, 0x18
imul edi, ecx
add dword [esp + 0x24], edi
mov edi, eax
shr edi, 0x10
shr eax, 8
and edi, 0xff
and eax, 0xff
imul edi, ecx
add dword [esp + 0x28], edi
imul eax, ecx
add dword [esp + 0x18], eax
mov eax, dword [edx + 4]
mov edi, eax
shr edi, 0x18
imul edi, ecx
add dword [esp + 0x20], edi
mov edi, eax
shr edi, 0x10
shr eax, 8
and edi, 0xff
and eax, 0xff
imul edi, ecx
add dword [esp + 0x2c], edi
imul eax, ecx
add dword [esp + 0x1c], eax
add edx, 8
sub dword [esp + 0x4c], 1
jne 0x100b6be0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
cmp edx, eax
jge 0x100b6c91
mov eax, dword [esp + 0xa0]
add eax, edx
add eax, dword [esp + 0x48]
mov eax, dword [ebp + eax*4]
mov edx, eax
shr edx, 0x18
imul edx, ecx
add dword [esp + 0x14], edx
mov edx, eax
shr edx, 0x10
shr eax, 8
and edx, 0xff
and eax, 0xff
imul edx, ecx
imul eax, ecx
add esi, edx
add dword [esp + 0x10], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add eax, ecx
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
add edx, eax
add esi, edx
mov edx, dword [esp + 0x1c]
add ecx, edx
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
add edx, ecx
add edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x90]
add edx, dword [esp + 0xa8]
push eax
add edx, dword [esp + 0x90]
mov eax, dword [esp + 0xb4]
lea eax, [edx + eax + 0x80]
cdq
idiv ecx
mov edx, dword [esp + 0x68]
add esi, edx
add esi, dword [esp + 0x98]
add esi, dword [esp + 0xa0]
add esi, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xb4]
lea eax, [esi + eax + 0x80]
cdq
idiv ecx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x20]
add eax, edx
add eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xd8]
add eax, dword [esp + 0xc8]
add eax, dword [esp + 0xd0]
lea eax, [eax + edx + 0x80]
cdq
idiv ecx
push eax
call sym.leptonlib.dll_composeRGBPixel
fld dword [esp + 0x98]
fld1
mov esi, dword [esp + 0x64]
add esp, 0x10
jmp 0x100b6d75
mov eax, dword [ebp + edx*4]
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x70], 4
inc eax
cmp eax, dword [esp + 0xe0]
mov dword [esp + 0x68], eax
jl 0x100b6410
fld dword [esp + 0x84]
fxch st(1)
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x80]
add edi, dword [esp + 0xd4]
inc eax
cmp eax, dword [esp + 0xe4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x80], edi
jl 0x100b639f
pop edi
fstp st(2)
pop esi
fstp st(1)
pop ebp
fstp st(0)
pop ebx
add esp, 0xc8
ret