Function at 0x10001000
Capabilities:
Create thread
Encode data using xor
Set current directory

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor edx, 0x79b1
push ebx
push ebp
push esi
lea ebx, [eax - 0x74f]
mov dword [esp + 0x1c], edx
mov esi, eax
mov dword [esp + 0x14], ebx
add eax, 0xffffbb3a
xor esi, 0x503
mov dword [esp + 0x28], eax
xor ebp, ebp
push edi
lea edi, [ecx - 0x8e3]
mov dword [esp + 0x14], esi
mov eax, edx
mov dword [esp + 0x10], edi
xor ecx, 0x45a6
xor eax, 0x79cd
cmp edi, eax
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x28]
je 0x1000146a
mov ebx, ebp
mov eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x88]
mov edx, dword [edi + 0x44]
push 0x3c
mov esi, dword [ebx + eax]
add ebx, 4
mov eax, dword [0x1017a534]
imul edx, esi
sub ecx, dword [eax + 0xfc]
mov eax, dword [edi + 0xfc]
add ecx, 0x5b6bb
xor dword [edi + 4], ecx
add eax, 0xffebdbfc
mov ecx, dword [edi + 0xa0]
add eax, ecx
or eax, ecx
mov dword [edi + 0xa0], eax
mov eax, dword [0x1017a534]
mov eax, dword [eax + 0xa0]
sub eax, 0x11174
xor dword [edi + 4], eax
mov eax, dword [edi + 0x2c]
sub eax, 0xb5ec2
imul eax, dword [0x101a43cc]
mov dword [0x101a43cc], eax
mov eax, dword [0x1017a534]
mov ecx, dword [eax + 0x48]
mov eax, dword [edi + 0x9c]
mov byte [ecx + eax], dl
mov eax, dword [0x1017a534]
inc dword [eax + 0x48]
mov ecx, dword [0x1017a534]
mov eax, dword [ecx + 0x64]
sub eax, 0x51
or dword [0x101a4300], eax
mov eax, dword [edi + 0x88]
sub eax, dword [edi + 0xbc]
sub eax, 0xd5bd4
imul eax, dword [ecx + 0x124]
mov dword [ecx + 0x124], eax
mov eax, dword [edi + 0x108]
sub eax, 7
imul eax, dword [edi + 0xbc]
mov dword [edi + 0xbc], eax
mov eax, dword [edi + 0xdc]
sub eax, 0x6beef
imul eax, dword [0x101a4328]
mov dword [0x101a4328], eax
mov eax, dword [edi + 0x10]
dec eax
xor dword [edi + 0x108], eax
pop eax
sub eax, dword [0x101a4388]
add dword [edi + 0x110], eax
cmp ebx, 0x987c0
jl 0x10001067
cmp dword [edi + 0xf4], 0x152f3
je 0x10001190
mov eax, dword [edi + 0xe4]
xor eax, dword [0x101a43a0]
xor eax, 0xd3418f4c
mov dword [edi + 0x44], eax
mov ecx, dword [0x1017a534]
cmp dword [ecx + 0x108], 0x42fd
jb 0x100011bd
mov eax, dword [edi + 0xb0]
add eax, dword [edi + 0x80]
imul eax, dword [ecx + 0xb0]
mov dword [ecx + 0xb0], eax
jmp 0x100011c7
mov dword [edi + 0x90], 0x1017a538
mov esi, ebp
mov eax, dword [0x101a4380]
mov edx, dword [esi + eax]
add esi, 4
mov eax, dword [0x101a4328]
add eax, 0xffeced6f
add eax, dword [edi + 0xfc]
add dword [edi + 0x70], eax
mov eax, dword [edi + 0x7c]
sub eax, 0x138b43
imul eax, dword [edi + 0x98]
mov dword [edi + 0x98], eax
mov ebx, dword [edi + 0x44]
mov eax, dword [0x1017a534]
imul ebx, edx
mov ecx, dword [eax + 0x9c]
mov eax, dword [edi + 0x48]
mov edx, ebx
shr edx, 0x10
mov byte [ecx + eax], dl
inc dword [edi + 0x48]
mov eax, dword [0x101a436c]
mov edx, dword [0x1017a534]
add eax, 0xffec74bc
add eax, dword [edi + 0xc8]
add dword [edx + 0x110], eax
mov eax, 0x104df6
sub eax, dword [0x101a43a0]
add dword [0x101a431c], eax
mov edx, dword [0x1017a534]
mov eax, dword [0x101a4360]
dec eax
mov ecx, dword [edx + 0xc8]
xor ecx, dword [edx + 0x38]
add eax, ecx
mov dword [0x101a4360], eax
mov eax, dword [edx + 0xe4]
mov edx, ebx
xor eax, 0x12d9ed
shr edx, 8
or dword [0x101a4414], eax
mov ecx, dword [edi + 0x48]
mov eax, dword [0x101a438c]
mov byte [eax + ecx], dl
inc dword [edi + 0x48]
mov eax, dword [edi + 0x2c]
mov ecx, dword [0x1017a534]
xor eax, 0xb5ec3
add dword [ecx + 0xe4], eax
mov eax, dword [0x1017a534]
mov ecx, dword [eax + 0x9c]
mov eax, dword [0x101a4338]
mov byte [eax + ecx], bl
mov eax, 0x1710bc68
inc dword [0x101a4338]
mov ecx, 0x6bef0
sub eax, dword [edi + 0x1c]
add dword [edi + 0xec], eax
mov eax, dword [0x101a43fc]
add eax, 0xffffffaf
add eax, dword [edi + 0x64]
mov dword [0x101a43fc], eax
mov eax, dword [0x1017a534]
sub ecx, dword [eax + 0xdc]
add dword [0x101a436c], ecx
cmp esi, 0x28210
jl 0x100011c9
mov eax, dword [0x101a43b8]
add eax, 0xcad
mov dword [edi + 0x44], eax
mov ecx, dword [0x1017a534]
cmp dword [ecx + 0xa0], 0xb2a5
ja 0x10001324
mov eax, dword [ecx + 4]
sub eax, 0x159e2
or dword [edi + 0xac], eax
jmp 0x10001335
sub eax, dword [ecx + 0x70]
sub eax, dword [edi + 0xe4]
sub eax, 0x4092b175
mov dword [edi + 0x44], eax
add dword [esp + 0x2c], 0x3d77
mov esi, ebp
mov dword [edi + 0x90], 0x101a3a90
mov ecx, dword [0x1017a534]
mov eax, dword [edi + 0x2c]
sub eax, 0xb5ec3
add dword [ecx + 0xa0], eax
mov eax, dword [edi + 0x90]
mov ecx, dword [0x1017a534]
mov edx, dword [esi + eax]
add esi, 4
mov eax, dword [edi + 0x4c]
add eax, dword [edi + 0x108]
xor eax, dword [ecx + 0x10]
xor eax, 0x374f9
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0xfc]
mov ebx, dword [edi + 0x44]
sub eax, 0x131290
add dword [edi + 0x10], eax
mov eax, dword [0x1017a534]
imul ebx, edx
mov ecx, dword [eax + 0x9c]
mov eax, dword [edi + 0x48]
mov edx, ebx
shr edx, 0x10
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [edi + 0x48]
mov ecx, dword [0x1017a534]
mov eax, dword [edi + 0x38]
dec eax
shr edx, 8
add dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x108]
sub eax, dword [edi + 0xbc]
sub eax, 8
or dword [edi + 0xb0], eax
mov ecx, dword [0x101a4338]
mov eax, dword [0x101a438c]
mov byte [ecx + eax], dl
mov ecx, dword [0x101a4338]
inc ecx
mov dword [0x101a4338], ecx
mov eax, dword [edi + 0x9c]
mov byte [ecx + eax], bl
inc dword [0x101a4338]
mov eax, dword [edi + 0xc8]
xor eax, 1
imul eax, dword [edi + 0xbc]
mov dword [edi + 0xbc], eax
mov ecx, dword [0x1017a534]
mov eax, dword [ecx + 0x64]
sub eax, dword [0x101a4388]
sub eax, 0x15
or dword [ecx + 0xec], eax
cmp esi, 0x830
jl 0x10001349
mov eax, dword [0x1017a534]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 0xc4]
add eax, 0x4f3
mov dword [0x101a4334], eax
mov eax, 0xe6c77a34
sub eax, dword [edi + 0x80]
add dword [edi + 0x44], eax
lea eax, [ecx + 0x3cc3]
cmp dword [esp + 0x10], eax
jl 0x100016cf
mov dword [edi + 0x90], 0x101093e0
mov esi, ebp
mov eax, dword [0x1017a534]
mov ecx, 0x138b44
sub ecx, dword [eax + 0x7c]
add dword [edi + 0x88], ecx
mov eax, dword [0x1017a534]
mov eax, dword [eax + 0x84]
dec eax
xor dword [edi + 0x84], eax
mov ecx, dword [0x1017a534]
mov eax, dword [edi + 0x80]
xor eax, 0x1362d2
imul eax, dword [ecx + 0x7c]
mov dword [ecx + 0x7c], eax
mov eax, dword [edi + 0x90]
mov ecx, dword [0x1017a534]
mov ebx, dword [esi + eax]
add esi, 4
mov eax, dword [ecx + 0xc4]
imul ebx, dword [edi + 0x44]
xor eax, 1
or dword [ecx + 0x10c], eax
mov eax, 0x104df6
sub eax, dword [0x101a43a0]
add dword [0x101a43b4], eax
mov eax, dword [0x1017a534]
mov edx, ebx
shr edx, 0x10
mov ecx, dword [eax + 0x9c]
mov eax, dword [edi + 0x48]
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [edi + 0x48]
mov eax, dword [0x1017a534]
shr edx, 8
mov ecx, dword [eax + 0x48]
mov eax, dword [0x101a438c]
mov byte [eax + ecx], dl
mov eax, dword [0x1017a534]
inc dword [eax + 0x48]
mov eax, dword [0x1017a534]
mov ecx, dword [eax + 0x48]
mov eax, dword [edi + 0x9c]
mov byte [ecx + eax], bl
mov eax, dword [0x1017a534]
inc dword [eax + 0x48]
mov eax, dword [0x1017a534]
mov eax, dword [eax + 0x10c]
xor eax, 0x1b108a
add dword [edi + 0xfc], eax
mov ecx, dword [0x1017a534]
mov eax, dword [edi + 0x64]
xor eax, 0x51
or dword [ecx + 0x110], eax
mov ecx, dword [0x1017a534]
mov eax, dword [0x101a4354]
add eax, 0xffffffaf
add dword [ecx + 0xbc], eax
mov eax, 0x1710bc69
mov edx, dword [0x1017a534]
mov ecx, dword [edx + 0x1c]
xor ecx, dword [0x101a43dc]
sub eax, ecx
add dword [edx + 0x64], eax
cmp esi, 0x7830
jl 0x10001486
cmp dword [0x101a433c], 0x4e97
mov esi, dword [esp + 0x14]
jbe 0x100015c8
mov eax, dword [0x1017a534]
mov dword [eax + 0x114], 0x101a42f0
mov eax, dword [0x1017a534]
cmp dword [eax + 0x7c], 0x9dae
jb 0x100015f0
mov eax, dword [eax + 0xf8]
add eax, dword [edi + 8]
add eax, dword [0x101a42f0]
xor eax, 0x7f1af6c
mov dword [edi + 0x120], eax
lea eax, [esi + 0x78]
cmp dword [esp + 0x10], eax
jge 0x10001849
mov eax, 0x104df6
sub eax, dword [edi + 0xb0]
add dword [edi + 0xac], eax
mov eax, dword [0x1017a534]
mov ecx, dword [eax + 0x124]
mov eax, dword [eax + 0xa0]
add ecx, 0x931b6
add eax, ecx
add dword [edi + 0x84], eax
mov eax, dword [edi + 0xc8]
sub eax, dword [0x101a43f8]
mov ecx, dword [0x101a4374]
xor eax, 0xfffffff8
or ecx, eax
mov eax, dword [0x1017a534]
mov dword [0x101a4374], ecx
sub ecx, dword [eax + 0x38]
inc ecx
imul ecx, dword [edi + 0x98]
mov dword [edi + 0x98], ecx
mov ecx, dword [edi + 0xa4]
mov eax, dword [0x101a4364]
xor dword [ecx + ebp], eax
add ebp, 4
mov ecx, dword [0x1017a534]
mov eax, dword [edi + 0xe8]
add dword [ecx + 0x74], eax
mov eax, dword [edi + 0xa0]
sub eax, dword [0x101a43f8]
xor eax, 0x1116d
imul eax, dword [edi + 0xc8]
mov dword [edi + 0xc8], eax
mov eax, dword [edi + 0xfc]
add eax, 0xffd1dce6
add eax, dword [edi + 0x10c]
add dword [edi + 0x4c], eax
mov eax, dword [edi + 0xc8]
sub dword [edi + 0x124], eax
cmp ebp, 0xc8574
jl 0x100015fd
jmp 0x10001849
mov eax, dword [0x1017a534]
mov eax, dword [eax + 0xcc]
sub eax, ecx
cmp ebx, eax
ja 0x10001849
mov eax, dword [esp + 0x2c]
sub eax, dword [0x101a42f4]
xor eax, 0x4275
mov dword [esp + 0x14], ebx
cmp ebx, eax
je 0x10001849
mov ebp, dword [esp + 0x20]
mov eax, dword [edi + 0xe4]
or eax, 0x3d5e
push eax
mov eax, dword [edi + 0x84]
add eax, dword [edi + 0xdc]
or eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [edi + 0xf0]
mov ecx, dword [0x1017a534]
add eax, ebp
imul eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
sub eax, 0x3d0b
xor eax, ebx
push eax
mov eax, dword [ecx + 0xc4]
or eax, ebp
push eax
mov eax, ebx
not eax
and eax, 0x40c1
push eax
mov eax, dword [ecx + 0x38]
xor eax, esi
push eax
mov eax, dword [edi + 0xcc]
and eax, dword [edi + 0xac]
or eax, dword [0x101a4360]
push eax
imul eax, ebx, 0x41c5
and eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1017a534]
imul ebx, dword [edi + 0x104], 0x1007f81d
mov eax, dword [eax + 0xd0]
xor dword [edi + 0x80], eax
mov eax, dword [edi + 0xb4]
sub eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x1017a534]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [edi + 0x128]
imul ebp, ebp
xor ecx, 0x4424
mov edx, dword [eax + 0x110]
or ecx, 0x3b82
xor edx, 0x3d5e
imul edx, dword [eax + 0x7c]
mov eax, dword [edi + 4]
xor eax, dword [0x101a4400]
xor ebp, 0x40c1
imul eax, dword [edi + 0xd8]
push eax
push ebp
push 0x101a42f0
push ecx
push edx
call fcn.1000483c
mov ebp, dword [edi + 0x7c]
mov esi, eax
xor ebp, 0x45b9
add esp, 0x14
mov ecx, ebp
or ecx, esi
xor ecx, 0x423d
mov dword [edi + 0xe4], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
sub eax, dword [0x101a42f4]
add ecx, 3
xor eax, 0x4275
mov dword [esp + 0x14], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x24]
jne 0x10001703
pop edi
lea eax, [esi - 0xcb]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret