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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x10117e34
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
push edi
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
xor ecx, ecx
mov dword [esp + 0x68], ecx
test ebp, ebp
je 0x10117e14
shl eax, 2
mov ebx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], edx
nop dword [eax]
mov edx, ecx
xor eax, eax
shr edx, 2
imul edx, dword [esp + 0x70]
mov dword [esp + 0x10], eax
add edx, edi
add edx, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
test esi, esi
je 0x10117df1
mov dword [esp + 0x14], ebx
shr eax, 1
lea ebx, [esp + 0x4c]
mov dword [esp + 0x1c], ebx
lea edi, [edx + eax*8]
xor edx, edx
mov dword [esp + 0x20], edx
nop dword [eax]
lea eax, [edx + ecx]
cmp eax, ebp
jae 0x10117bbd
mov eax, dword [esp + 0x10]
xor ecx, ecx
sub eax, dword [esp + 0x1c]
mov ebp, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
nop
add eax, ebx
cmp eax, esi
jae 0x10117b98
movzx edx, byte [edi + 1]
movzx eax, byte [edi]
mov esi, edx
and esi, 0xf
mov dword [esp + 0x34], eax
shl esi, 5
add esi, 0x101a7b48
cmp ebp, 0xf
ja case.default.0x10117a5c
jmp dword [ebp*4 + 0x10117e3c]
movzx eax, byte [edi + 2]
shr eax, 5
jmp 0x10117b5b
movzx eax, byte [edi + 2]
shr eax, 2
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 3]
and eax, 3
shr ecx, 7
add eax, eax
or eax, ecx
mov ecx, dword [esp + 0x18]
jmp 0x10117b5b
movzx eax, byte [edi + 3]
shr eax, 4
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 3]
shr eax, 1
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 3]
movzx ecx, byte [edi + 4]
and eax, 1
shr ecx, 6
shl eax, 2
or eax, ecx
mov ecx, dword [esp + 0x18]
jmp 0x10117b5b
movzx eax, byte [edi + 4]
shr eax, 3
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 4]
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 5]
shr eax, 5
jmp 0x10117b5b
movzx eax, byte [edi + 5]
shr eax, 2
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 5]
movzx ecx, byte [edi + 6]
and eax, 3
shr ecx, 7
add eax, eax
or eax, ecx
mov ecx, dword [esp + 0x18]
jmp 0x10117b5b
movzx eax, byte [edi + 6]
shr eax, 4
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 6]
shr eax, 1
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 6]
movzx ecx, byte [edi + 7]
and eax, 1
shr ecx, 6
shl eax, 2
or eax, ecx
mov ecx, dword [esp + 0x18]
jmp 0x10117b5b
movzx eax, byte [edi + 7]
shr eax, 3
and eax, 7
jmp 0x10117b5b
movzx eax, byte [edi + 7]
and eax, 7
jmp 0x10117b5b
xor eax, eax
shr edx, 4
imul edx, dword [esi + eax*4]
add edx, dword [esp + 0x34]
test edx, edx
jle 0x10117b7a
cmp edx, 0xff
mov eax, 0xff
cmovg edx, eax
jmp 0x10117b7c
xor edx, edx
mov eax, dword [esp + 0x38]
inc ecx
mov esi, dword [esp + 0x60]
add ebp, 4
mov byte [ebx], dl
inc ebx
mov dword [esp + 0x18], ecx
cmp ecx, 4
jb 0x10117a30
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
inc edx
mov ecx, dword [esp + 0x68]
add ebx, 4
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebx
cmp edx, 4
jb 0x10117a10
test byte [edi + 0xb], 2
lea esi, [edi + 8]
mov dword [esp + 0x38], esi
jne 0x10117c59
movzx edi, byte [esi]
lea eax, [esp + 0x4c]
movzx edx, byte [esi + 1]
mov ebp, edi
movzx ecx, byte [esi + 2]
mov ebx, edx
push 0
push eax
mov esi, ecx
shr ebx, 4
and ecx, 0xf
shr esi, 4
mov eax, ecx
shr ebp, 4
shl eax, 4
and edx, 0xf
or eax, ecx
and edi, 0xf
push eax
mov eax, edx
mov ecx, dword [esp + 0x44]
shl eax, 4
or eax, edx
push eax
mov eax, edi
shl eax, 4
or eax, edi
push eax
mov eax, esi
shl eax, 4
or eax, esi
mov esi, dword [esp + 0x74]
push eax
mov eax, ebx
shl eax, 4
or eax, ebx
push eax
mov eax, ebp
shl eax, 4
or eax, ebp
mov ebp, dword [esp + 0x80]
push eax
push dword [esp + 0x9c]
push ebp
push esi
push dword [esp + 0x94]
push dword [esp + 0x40]
push dword [esp + 0x48]
call fcn.1011e390
jmp 0x10117dc9
mov al, byte [esi]
movzx ebp, byte [esi]
movzx ebx, byte [esi + 1]
movzx edi, byte [esi + 2]
shl al, 5
movsx eax, al
sar eax, 5
shr ebp, 3
add eax, ebp
shr ebx, 3
mov dword [esp + 0x20], eax
mov al, byte [esi + 1]
shl al, 5
movsx edx, al
mov al, byte [esi + 2]
shl al, 5
movsx eax, al
sar edx, 5
shr edi, 3
add edx, ebx
sar eax, 5
add eax, edi
cmp dword [esp + 0x20], 0x1f
ja 0x10117d9b
cmp edx, 0x1f
ja 0x10117d6f
cmp eax, 0x1f
ja 0x10117d45
push 0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
shl eax, 3
sar ecx, 2
or ecx, eax
lea eax, [edx*8]
push ecx
mov ecx, edx
sar ecx, 2
or ecx, eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, eax
shl eax, 3
sar ecx, 2
or ecx, eax
lea eax, [edi*8]
push ecx
mov ecx, edi
sar ecx, 2
or ecx, eax
lea eax, [ebx*8]
push ecx
mov ecx, ebx
sar ecx, 2
or ecx, eax
lea eax, [ebp*8]
push ecx
mov ecx, ebp
mov ebp, dword [esp + 0x80]
sar ecx, 2
or ecx, eax
push ecx
push dword [esp + 0x9c]
mov ecx, esi
push ebp
push dword [esp + 0x88]
push dword [esp + 0x94]
push dword [esp + 0x40]
push dword [esp + 0x48]
call fcn.1011e390
jmp 0x10117dc5
mov ebp, dword [esp + 0x64]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x80]
mov ecx, esi
push ebp
push dword [esp + 0x6c]
push dword [esp + 0x78]
push dword [esp + 0x24]
push dword [esp + 0x2c]
call fcn.1011e7e0
jmp 0x10117dc5
mov ebp, dword [esp + 0x64]
lea eax, [esp + 0x4c]
push 0
push eax
push dword [esp + 0x84]
mov ecx, esi
push ebp
push dword [esp + 0x70]
push dword [esp + 0x7c]
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.1011e170
jmp 0x10117dc5
mov ebp, dword [esp + 0x64]
lea eax, [esp + 0x4c]
push 0
push eax
push dword [esp + 0x84]
mov ecx, esi
push ebp
push dword [esp + 0x70]
push dword [esp + 0x7c]
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.1011eb00
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x10
add eax, 4
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
cmp eax, esi
jb 0x101179f6
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add ebx, dword [esp + 0x40]
add ecx, 4
mov dword [esp + 0x68], ecx
mov dword [esp + 0x24], ebx
cmp ecx, ebp
jb 0x101179d0
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add edi, dword [esp + 0x44]
add edx, dword [esp + 0x48]
sub ebx, 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
jne 0x101179b1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret