Function at 0x10178d80
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13c
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x138], eax
test dword [0x1027ac70], 0x800000
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x64], edx
jne 0x101793f0
mov ecx, edx
lea eax, [esp + 0xc0]
sub ecx, eax
lea eax, [esp + 0x80]
sub eax, edx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x81]
sub eax, edx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x82]
sub eax, edx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x83]
sub eax, edx
mov dword [esp + 0x68], eax
mov eax, ebx
lea edx, [esp + 0x80]
sub eax, edx
mov dword [esp + 0x50], eax
lea eax, [ebx + 2]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xc0]
sub ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x54], eax
jmp 0x10178e30
xor edx, edx
lea eax, [esp + 0xc0]
add eax, edx
inc edx
mov cl, byte [eax + ecx]
mov byte [eax], cl
mov al, byte [ebx + eax]
xor al, cl
mov ecx, dword [esp + 0x58]
mov byte [esp + edx + 0x7f], al
cmp edx, 0x40
jl 0x10178e32
mov eax, 0x1023bb60
mov dword [esp + 0x4c], eax
lea esp, [esp]
xor edi, edi
mov dword [esp + 0x18], edi
test edi, edi
je 0x10178e7d
xorps xmm0, xmm0
movlpd qword [esp + 0x78], xmm0
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
jmp 0x10178e82
mov edx, dword [eax]
mov esi, dword [eax + 4]
lea eax, [edi*8]
mov dword [esp + 0x44], eax
mov dword [esp + eax + 0x100], edx
mov dword [esp + eax + 0x104], esi
lea ecx, [esp + 0x100]
add ecx, eax
lea eax, [edi - 1]
and eax, 7
mov dword [esp + 0x48], ecx
movzx eax, byte [esp + eax*8 + 0xc1]
mov ecx, dword [eax*8 + 0x1023b360]
mov eax, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x40], eax
lea eax, [edi - 2]
and eax, 7
mov dword [esp + 0x38], ecx
movzx eax, byte [esp + eax*8 + 0xc2]
mov ecx, dword [eax*8 + 0x1023b360]
mov eax, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x30], eax
lea eax, [edi - 3]
and eax, 7
mov dword [esp + 0x28], ecx
movzx eax, byte [esp + eax*8 + 0xc3]
mov ecx, dword [eax*8 + 0x1023b360]
mov eax, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x34], eax
lea eax, [edi - 4]
and eax, 7
mov dword [esp + 0x3c], ecx
movzx eax, byte [esp + eax*8 + 0xc4]
mov ecx, dword [eax*8 + 0x1023b360]
mov ebx, dword [eax*8 + 0x1023b364]
lea eax, [edi + 3]
and eax, 7
mov dword [esp + 0x24], ecx
movzx eax, byte [esp + eax*8 + 0xc5]
mov edi, dword [eax*8 + 0x1023b360]
mov esi, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x18]
lea eax, [edi + 2]
and eax, 7
inc edi
movzx eax, byte [esp + eax*8 + 0xc6]
mov dword [esp + 0x18], edi
mov ecx, dword [eax*8 + 0x1023b364]
mov edx, dword [eax*8 + 0x1023b360]
and edi, 7
movzx eax, byte [esp + edi*8 + 0xc7]
mov edi, dword [eax*8 + 0x1023b360]
mov eax, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x38]
shrd edi, eax, 8
xor edi, dword [esp + 0x28]
shr eax, 8
xor eax, dword [esp + 0x30]
shrd edi, eax, 8
xor edi, dword [esp + 0x3c]
shr eax, 8
xor eax, dword [esp + 0x34]
shrd edi, eax, 8
xor edi, dword [esp + 0x24]
shr eax, 8
mov dword [esp + 0x10], eax
xor eax, ebx
shrd edi, eax, 8
shr eax, 8
mov dword [esp + 0x10], eax
mov eax, edi
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
xor edi, esi
shrd eax, edi, 8
shr edi, 8
xor eax, edx
xor edi, ecx
shrd eax, edi, 8
mov dword [esp + 0x10], edi
shr dword [esp + 0x10], 8
mov edi, dword [esp + 0x10]
xor edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
xor dword [esp + 0x14], eax
shld dword [esp + 0x1c], eax, 8
shl eax, 8
xor eax, edx
mov edx, dword [esp + 0x1c]
xor edx, ecx
mov ecx, eax
shld edx, ecx, 8
shl ecx, 8
xor ecx, dword [esp + 0x2c]
xor edx, esi
shld edx, ecx, 8
shl ecx, 8
xor ecx, dword [esp + 0x24]
xor edx, ebx
shld edx, ecx, 8
xor edx, dword [esp + 0x34]
shl ecx, 8
xor ecx, dword [esp + 0x3c]
shrd dword [esp + 0x14], edi, 8
shld edx, ecx, 8
xor edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
shl ecx, 8
xor ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
shld edx, ecx, 8
xor edx, dword [esp + 0x40]
movzx eax, byte [esp + eax + 0xc0]
shl ecx, 8
xor ecx, dword [esp + 0x38]
shr edi, 8
shld edx, ecx, 8
shl ecx, 8
xor ebx, ecx
xor ebx, dword [eax*8 + 0x1023b360]
mov ecx, edi
xor ecx, edx
xor ecx, dword [eax*8 + 0x1023b364]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], edi
xor dword [eax], ebx
xor dword [eax + 4], ecx
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
cmp edi, 8
jl 0x10178e66
mov ecx, 0x10
lea esi, [esp + 0x100]
lea edi, [esp + 0xc0]
mov edx, 2
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x44], 8
jmp 0x10179100
lea eax, [edx - 3]
and eax, 7
movzx eax, byte [esp + eax*8 + 0x81]
mov ecx, dword [eax*8 + 0x1023b360]
mov eax, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x2c], eax
lea eax, [edx - 4]
and eax, 7
mov dword [esp + 0x24], ecx
movzx eax, byte [esp + eax*8 + 0x82]
mov ecx, dword [eax*8 + 0x1023b360]
mov eax, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x3c], eax
lea eax, [edx + 3]
and eax, 7
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + eax*8 + 0x83]
mov ecx, dword [eax*8 + 0x1023b360]
mov eax, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x28], eax
lea eax, [edx + 2]
and eax, 7
mov dword [esp + 0x30], ecx
movzx eax, byte [esp + eax*8 + 0x84]
mov ecx, dword [eax*8 + 0x1023b360]
mov ebx, dword [eax*8 + 0x1023b364]
lea eax, [edx + 1]
mov dword [esp + 0x48], eax
and eax, 7
mov dword [esp + 0x38], ebx
movzx eax, byte [esp + eax*8 + 0x85]
mov dword [esp + 0x40], ecx
mov esi, dword [eax*8 + 0x1023b364]
mov edi, dword [eax*8 + 0x1023b360]
mov eax, edx
and eax, 7
movzx eax, byte [esp + eax*8 + 0x86]
mov ecx, dword [eax*8 + 0x1023b364]
mov edx, dword [eax*8 + 0x1023b360]
mov eax, dword [esp + 0x18]
dec eax
and eax, 7
movzx eax, byte [esp + eax*8 + 0x87]
mov ebx, dword [eax*8 + 0x1023b360]
mov eax, dword [eax*8 + 0x1023b364]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
shrd ebx, eax, 8
xor ebx, dword [esp + 0x34]
shr eax, 8
xor eax, dword [esp + 0x3c]
shrd ebx, eax, 8
xor ebx, dword [esp + 0x30]
shr eax, 8
xor eax, dword [esp + 0x28]
shrd ebx, eax, 8
xor ebx, dword [esp + 0x40]
shr eax, 8
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
shrd eax, ebx, 8
shr ebx, 8
xor ebx, esi
xor eax, edi
shrd eax, ebx, 8
shr ebx, 8
xor eax, edx
xor ebx, ecx
shrd eax, ebx, 8
mov dword [esp + 0x10], ebx
shr dword [esp + 0x10], 8
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
xor dword [esp + 0x14], eax
xor ebx, dword [esp + 0x1c]
shld dword [esp + 0x1c], eax, 8
shl eax, 8
xor eax, edx
mov edx, dword [esp + 0x1c]
xor edx, ecx
mov ecx, eax
shld edx, ecx, 8
shl ecx, 8
xor ecx, edi
xor edx, esi
shld edx, ecx, 8
xor edx, dword [esp + 0x38]
shl ecx, 8
xor ecx, dword [esp + 0x40]
shrd dword [esp + 0x14], ebx, 8
shld edx, ecx, 8
xor edx, dword [esp + 0x28]
shl ecx, 8
xor ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
shld edx, ecx, 8
xor edx, dword [esp + 0x3c]
shl ecx, 8
xor ecx, dword [esp + 0x34]
shr ebx, 8
shld edx, ecx, 8
xor edx, dword [esp + 0x2c]
shl ecx, 8
xor ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
shld edx, ecx, 8
shl ecx, 8
xor ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + esi + 0x80]
xor ecx, edx
xor ebx, dword [eax*8 + 0x1023b360]
xor ecx, dword [eax*8 + 0x1023b364]
xor dword [esp + esi + 0x100], ebx
xor dword [esp + esi + 0x104], ecx
mov edx, dword [esp + 0x48]
add esi, 8
dec dword [esp + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], esi
jne 0x10179100
mov eax, dword [esp + 0x4c]
add eax, 8
mov ecx, 0x10
lea esi, [esp + 0x100]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x4c], eax
cmp eax, 0x1023bbb0
jl 0x10178e60
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x50]
mov esi, 0x10
lea esp, [esp]
mov ecx, dword [esp + 0x74]
add ecx, eax
add eax, 4
mov dl, byte [edi + ecx]
xor dl, byte [eax - 4]
add ebx, 4
xor dl, byte [ecx]
mov ecx, dword [esp + 0x70]
mov byte [eax - 4], dl
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [ebx - 5]
xor byte [eax - 3], cl
mov ecx, dword [esp + 0x6c]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [ebx - 4]
xor byte [eax - 2], cl
mov ecx, dword [esp + 0x68]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [ebx - 3]
xor byte [eax - 1], cl
dec esi
jne 0x10179370
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x60]
add ebx, 0x40
add edi, 0x40
dec dword [esp + 0x54]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], edi
jne 0x10178e30
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.101aa6fb
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
push ebx
push edx
call fcn.10176ec0
mov ecx, dword [esp + 0x150]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101aa6fb
mov esp, ebp
pop ebp
ret