Function at 0x1000e010
Capabilities:
Encode data using xor
Get file attributes

Disassembly:
sub esp, 0x28
mov edx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
lea eax, [ecx - 0x1197]
mov dword [esp + 0x10], eax
lea ebx, [edx - 0x1197]
mov eax, dword [esp + 0x48]
lea ebp, [edx + 0x364]
mov edx, dword [esp + 0x60]
add esi, 0xffffec65
push edi
add edx, 0xfffffe6b
mov dword [esp + 0x24], ebx
lea edi, [eax + 0xa6]
mov dword [esp + 0x48], esi
add eax, 0xfffff92e
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], eax
lea eax, [ecx + 0x3b9]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
lea eax, [ebp + 0x74]
mov dword [esp + 0x44], ecx
cmp edi, eax
je 0x1000e17b
lea eax, [esi + 0x1839]
mov esi, dword [esp + 0x58]
push eax
push dword [esp + 0x14]
lea eax, [ecx + 0x190f]
mov edx, esi
push ecx
push eax
lea eax, [ecx + 0x1a46]
push eax
lea eax, [ebx + 0x19ad]
push eax
lea eax, [ebx + 0x132f]
push eax
sub esp, 0x10
call fcn.1000f140
mov edi, dword [esi + 0x1d8]
add esp, 0x2c
mov eax, dword [esi + 0x1f0]
mov dword [esi + 0x34], eax
mov dword [esi + 0x90], edi
test edi, edi
je 0x1000e11f
mov ecx, dword [esi]
mov eax, dword [esi + 0x19c]
sub eax, 0x132f
or dword [ecx + 0x50], eax
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x19c]
add eax, 0x38
or dword [ecx + 0xc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, dword [esi + 0x13c]
add ecx, 0x13a4
mov dword [esi + 0x50], ecx
test eax, eax
je 0x1000e11f
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 0x10]
or eax, 0x1590
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x1dc]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0xf8]
imul ecx, dword [eax + 0x64], 0x624388d3
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x64]
sub eax, 0x43e
cmp ecx, eax
jne 0x1000e2ff
mov eax, dword [esi + 0x194]
or eax, 0x1550
add dword [esi + 0x13c], eax
mov eax, dword [esp + 0x50]
pop edi
pop esi
pop ebp
add eax, 0x1fd
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x58]
imul eax, ebx
mov dword [esp + 0x18], ebx
or eax, edx
mov dword [esp + 0x34], eax
cmp ebx, eax
je 0x1000e2ed
mov eax, dword [esp + 0x50]
mov ebx, ecx
xor eax, 0x139b
and eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
mov ecx, dword [esi + 0x50]
cmp ecx, eax
jle 0x1000e26f
mov edx, dword [esi + 0x58]
mov eax, ecx
mov ebx, dword [esi + 0xf8]
or eax, 0x1bef
or ebx, dword [esi + 0x19c]
or edx, 0x156f
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xd0]
xor eax, dword [esi + 0x12c]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esi + 0xfc]
mov esi, dword [esi + 0x98]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add edi, ebp
add eax, dword [esp + 0x28]
add ecx, 3
imul esi, dword [esp + 0x20]
sub edx, eax
mov eax, dword [esp + 0x10]
xor ebp, dword [esp + 0x64]
add eax, 0xffffe87c
add ebp, dword [esp + 0x14]
add eax, esi
mov dword [esp + 0x48], esi
add ebx, eax
mov eax, dword [esp + 0x2c]
imul eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
and eax, edx
add edi, eax
cmp ecx, dword [esp + 0x1c]
jg 0x1000e205
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
mov dword [esi + 0xc8], edx
mov edx, dword [esp + 0x64]
mov dword [esi + 0xfc], ebx
mov ebx, dword [esp + 0x44]
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x150]
imul eax, dword [esi + 0xfc]
sub eax, ebp
push eax
mov eax, dword [esi + 0x12c]
or eax, dword [esp + 0x50]
or eax, dword [esi + 0x58]
push eax
mov eax, dword [esi + 0x98]
and eax, 0x1590
or eax, dword [esp + 0x70]
push eax
mov eax, edi
imul eax, edx
or eax, 0x13fc
push eax
mov eax, dword [esi + 0xd8]
imul eax, dword [esi + 0x1b8]
push eax
mov eax, ebx
xor eax, 0x1648
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [esp + 0x18]
add ebx, 0x1292
mov edx, dword [esp + 0x64]
add eax, 3
add ebx, ebp
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], ebx
jne 0x1000e1b0
mov eax, dword [esi + 0x154]
xor eax, dword [esi + 0xf8]
mov dword [esi + 0x12c], eax
mov eax, dword [esp + 0x50]
pop edi
pop esi
pop ebp
add eax, 0x1fd
pop ebx
add esp, 0x28
ret