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

Disassembly:
sub esp, 0x50
push esi
mov esi, dword [esp + 0x60]
test esi, esi
jle 0x100b8988
mov eax, dword [esp + 0x64]
lea ecx, [eax*4]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x58]
push ebx
mov edx, eax
push ebp
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
shl edx, 6
push edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x54], esi
jmp 0x100b86a0
xor ebx, ebx
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
jle 0x100b896c
lea edx, [ecx + eax*4]
mov dword [esp + 0x14], edx
lea edx, [ecx + eax*8]
mov dword [esp + 0x18], edx
lea edx, [eax + eax*2]
lea edx, [ecx + edx*4]
mov dword [esp + 0x1c], edx
mov edx, eax
shl edx, 4
add edx, ecx
mov dword [esp + 0x20], edx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*4]
mov dword [esp + 0x24], edx
lea edx, [eax + eax*2]
lea edx, [ecx + edx*8]
mov dword [esp + 0x28], edx
lea edx, [eax*8]
sub edx, eax
lea edx, [ecx + edx*4]
mov dword [esp + 0x2c], edx
mov edx, eax
shl edx, 5
add edx, ecx
mov dword [esp + 0x30], edx
lea edx, [eax + eax*8]
lea edx, [ecx + edx*4]
mov dword [esp + 0x34], edx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*8]
mov dword [esp + 0x38], edx
mov edx, eax
imul edx, edx, 0x2c
add edx, ecx
mov dword [esp + 0x3c], edx
lea edx, [eax + eax*2]
shl edx, 4
add edx, ecx
mov dword [esp + 0x40], edx
mov edx, eax
imul edx, edx, 0x34
add edx, ecx
mov dword [esp + 0x44], edx
lea edx, [eax*8]
sub edx, eax
lea edx, [ecx + edx*8]
mov dword [esp + 0x48], edx
mov edx, eax
shl edx, 4
sub edx, eax
lea eax, [ecx + edx*4]
mov dword [esp + 0x4c], eax
push ebx
push ecx
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x74]
mov esi, dword [edi + eax*4]
lea ebp, [ebx + 1]
push ebp
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x24]
add esi, dword [edi + eax*4]
push ebx
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x2c]
push ebp
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x38]
add esi, dword [edi + eax*4]
push ebx
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x40]
add esi, dword [edi + eax*4]
push ebp
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x4c]
push ebx
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x54]
add esi, dword [edi + eax*4]
push ebp
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x60]
add esi, dword [edi + eax*4]
add esp, 0x40
push ebx
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x28]
push ebp
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x34]
add esi, dword [edi + eax*4]
push ebx
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x3c]
add esi, dword [edi + eax*4]
push ebp
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x48]
push ebx
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x50]
add esi, dword [edi + eax*4]
push ebp
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x5c]
add esi, dword [edi + eax*4]
push ebx
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x64]
push ebp
push eax
call sym.leptonlib.dll_l_getDataByte
add esp, 0x40
mov ecx, dword [esp + 0x30]
add esi, dword [edi + eax*4]
push ebx
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x38]
add esi, dword [edi + eax*4]
push ebp
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x44]
push ebx
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x4c]
add esi, dword [edi + eax*4]
push ebp
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x58]
add esi, dword [edi + eax*4]
push ebx
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x60]
push ebp
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x6c]
add esi, dword [edi + eax*4]
push ebx
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x74]
add esi, dword [edi + eax*4]
push ebp
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x80]
add esp, 0x40
push ebx
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x48]
add esi, dword [edi + eax*4]
push ebp
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x54]
add esi, dword [edi + eax*4]
push ebx
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x5c]
push ebp
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x68]
add esi, dword [edi + eax*4]
push ebx
push ecx
call sym.leptonlib.dll_l_getDataByte
mov edx, dword [esp + 0x70]
add esi, dword [edi + eax*4]
push ebp
push edx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
mov eax, dword [esp + 0x7c]
push ebx
push eax
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x84]
add esi, dword [edi + eax*4]
push ebp
push ecx
call sym.leptonlib.dll_l_getDataByte
add esi, dword [edi + eax*4]
add esp, 0x40
cmp esi, 0xff
jl 0x100b8934
mov esi, 0xff
mov eax, dword [esp + 0x10]
mov edx, 0xff
sub edx, esi
mov esi, dword [esp + 0x50]
push edx
push esi
push eax
call sym.leptonlib.dll_l_setDataByte
mov ecx, dword [esp + 0x78]
inc esi
add esp, 0xc
add ebx, 2
cmp esi, dword [esp + 0x68]
mov dword [esp + 0x50], esi
jl 0x100b8756
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x5c]
add dword [esp + 0x10], esi
add ecx, edx
sub dword [esp + 0x54], 1
mov dword [esp + 0x6c], ecx
jne 0x100b86a0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x50
ret