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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x38c
mov ecx, dword [0x100f601c]
mov eax, dword [esp + 0x3a8]
mov edx, dword [esp + 0x3ac]
mov edi, dword [esp + 0x3a0]
sar eax, 5
mov dword [esp + 0x20], eax
add eax, 6
test edx, edx
mov dword [esp + 0x28], eax
mov edx, 0x10001620
mov eax, 0x10001890
cmovne eax, edx
test ecx, ecx
mov dword [edi + 0x114], eax
jne 0x10001e68
mov byte [esp + 0x27f], 1
mov byte [esp + 0x180], 1
xor edx, edx
mov byte [esp + 0x81], 0
mov eax, 3
jmp 0x10001c9b
lea ecx, [eax + eax]
mov byte [esp + edx + 0x27f], al
mov byte [esp + edx + 0x180], al
mov byte [esp + eax + 0x80], dl
xor eax, ecx
mov ecx, eax
xor ecx, 0x11b
cmp eax, 0x100
cmovge eax, ecx
add edx, 1
cmp edx, 0xff
jne 0x10001c71
xor esi, esi
xor eax, eax
mov edi, 0xff
mov ecx, esi
jmp 0x10001cc7
movzx eax, byte [esp + ecx + 0x80]
mov esi, edi
sub esi, eax
movzx eax, byte [esp + esi + 0x180]
lea ebx, [eax + eax]
lea edx, [eax*4]
mov esi, eax
shl esi, 4
xor edx, ebx
lea ebx, [eax*8]
xor edx, eax
mov eax, edx
xor eax, ebx
xor esi, eax
mov edx, esi
mov eax, esi
xor edx, 0x63
sar eax, 8
xor eax, edx
movzx edx, al
mov byte [ecx + 0x100f6120], al
mov byte [edx + 0x100f6020], cl
add ecx, 1
cmp ecx, 0x100
jne 0x10001cb3
movzx eax, byte [esp + 0x8d]
movzx ebp, byte [esp + 0x8e]
mov ebx, 0x100f4020
movzx edi, byte [esp + 0x89]
xor ecx, ecx
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x8b]
mov dword [esp + 0x1c], eax
lea esi, [esi]
movzx eax, byte [ecx + 0x100f6020]
test al, al
je 0x10001db6
movzx eax, byte [esp + eax + 0x80]
lea esi, [esp + 0x380]
add eax, esi
movzx edx, byte [edi + eax - 0x200]
mov esi, edx
mov edx, dword [esp + 0x18]
shl esi, 8
movzx edx, byte [edx + eax - 0x200]
shl edx, 0x10
or edx, esi
movzx esi, byte [ebp + eax - 0x200]
or esi, edx
mov edx, dword [esp + 0x1c]
movzx edx, byte [edx + eax - 0x200]
shl edx, 0x18
or edx, esi
mov eax, edx
mov dword [ebx], edx
rol eax, 8
mov dword [ebx + 0x400], eax
mov eax, edx
ror edx, 8
rol eax, 0x10
mov dword [ebx + 0xc00], edx
mov dword [ebx + 0x800], eax
add ecx, 1
add ebx, 4
cmp ecx, 0x100
jne 0x10001d40
movzx eax, byte [esp + 0x83]
movzx ebp, byte [esp + 0x82]
mov ebx, 0x100f5020
movzx edi, byte [esp + 0x81]
xor ecx, ecx
mov dword [esp + 0x18], eax
nop
lea esi, [esi]
movzx eax, byte [ecx + 0x100f6120]
test al, al
je 0x10001e5a
movzx edx, byte [esp + eax + 0x80]
lea eax, [esp + 0x380]
add edx, eax
movzx eax, byte [edi + edx - 0x200]
mov esi, eax
shl eax, 0x10
shl esi, 8
or eax, esi
movzx esi, byte [ebp + edx - 0x200]
or eax, esi
mov esi, dword [esp + 0x18]
movzx esi, byte [esi + edx - 0x200]
shl esi, 0x18
or eax, esi
mov edx, eax
mov dword [ebx], eax
rol edx, 8
mov dword [ebx + 0x400], edx
mov edx, eax
ror eax, 8
rol edx, 0x10
mov dword [ebx + 0xc00], eax
mov dword [ebx + 0x800], edx
add ecx, 1
add ebx, 4
cmp ecx, 0x100
jne 0x10001df0
mov eax, dword [esp + 0x3a8]
and eax, 0xffffffbf
add eax, 0xffffff80
je 0x10001e88
cmp dword [esp + 0x3a8], 0x100
jne 0x100021f8
mov eax, dword [esp + 0x3a0]
mov edi, dword [esp + 0x28]
mov dword [eax + 0x110], edi
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x3a4]
lea ebp, [edi*4]
mov dword [esp + 4], eax
lea eax, [esp + 0x30]
mov dword [esp + 8], ebp
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x3a4]
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3a0]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, edi
add eax, 7
mov dword [esp + 0x2c], eax
shl eax, 4
cmp ebp, eax
mov dword [esp + 0x20], eax
jge 0x10002030
lea ebx, [edi - 1]
lea esi, [edi*8]
mov dword [esp + 0x18], 0x100d6025
mov edx, 1
mov dword [esp + 0x24], ebp
movzx eax, byte [esp + ebx*4 + 0x31]
movzx eax, byte [eax + 0x100f6120]
xor al, byte [esp + 0x30]
mov byte [esp + 0x30], al
movzx ecx, byte [esp + ebx*4 + 0x32]
xor eax, edx
movzx ecx, byte [ecx + 0x100f6120]
xor byte [esp + 0x31], cl
movzx ecx, byte [esp + ebx*4 + 0x33]
movzx ecx, byte [ecx + 0x100f6120]
xor byte [esp + 0x32], cl
movzx ecx, byte [esp + ebx*4 + 0x30]
mov byte [esp + 0x30], al
movzx ecx, byte [ecx + 0x100f6120]
xor byte [esp + 0x33], cl
cmp edi, 1
jle 0x10001fa4
cmp edi, 8
lea eax, [esp + 0x30]
mov edx, 1
setne cl
mov dword [esp + 0x1c], ebx
cmp edx, 4
jne 0x10001f7b
test cl, cl
je 0x10001fe2
movzx ebx, byte [eax]
xor byte [eax + 4], bl
movzx ebx, byte [eax + 1]
xor byte [eax + 5], bl
movzx ebx, byte [eax + 2]
xor byte [eax + 6], bl
movzx ebx, byte [eax + 3]
xor byte [eax + 7], bl
add edx, 1
add eax, 4
cmp edi, edx
jne 0x10001f72
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov eax, esi
lea ecx, [esp + 0x30]
mov dword [esp + 4], ecx
sub eax, ebp
add eax, dword [esp + 0x3a0]
mov dword [esp + 8], ebp
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
cmp dword [esp + 0x20], esi
jle 0x10002030
mov eax, dword [esp + 0x18]
add esi, ebp
movzx edx, byte [eax]
add eax, 1
mov dword [esp + 0x18], eax
jmp 0x10001f10
movzx ebp, byte [esp + 0x3c]
movzx ebp, byte [ebp + 0x100f6120]
mov ebx, ebp
movzx ebp, byte [esp + 0x3d]
xor byte [esp + 0x40], bl
movzx ebp, byte [ebp + 0x100f6120]
mov ebx, ebp
movzx ebp, byte [esp + 0x3e]
xor byte [esp + 0x41], bl
movzx ebp, byte [ebp + 0x100f6120]
mov ebx, ebp
movzx ebp, byte [esp + 0x3f]
xor byte [esp + 0x42], bl
movzx ebp, byte [ebp + 0x100f6120]
mov ebx, ebp
xor byte [esp + 0x43], bl
jmp 0x10001f96
mov eax, dword [esp + 0x3ac]
test eax, eax
jne 0x100020c7
mov ecx, dword [esp + 0x2c]
sar ecx, 1
test ecx, ecx
jle 0x100020ba
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x3a0]
shl ecx, 4
shl edx, 4
add edx, dword [esp + 0x3a0]
lea ebp, [eax + ecx]
mov dword [esp + 0x18], ebp
nop
lea esi, [esi]
mov ebp, dword [eax]
mov edi, dword [edx]
add eax, 0x10
mov esi, dword [edx + 4]
mov ebx, dword [edx + 8]
sub edx, 0x10
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x10], ebp
mov ebp, dword [eax - 0xc]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov dword [edx + 0x14], ebp
mov ebp, dword [eax - 8]
mov dword [edx + 0x18], ebp
mov ebp, dword [eax - 4]
mov dword [edx + 0x1c], ebp
mov dword [eax - 0x10], edi
mov dword [eax - 0xc], esi
mov dword [eax - 8], ebx
mov dword [eax - 4], ecx
cmp dword [esp + 0x18], eax
jne 0x10002070
add esp, 0x38c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
cmp eax, 1
jle 0x100020ba
mov edi, dword [esp + 0x3a0]
shl eax, 4
mov esi, eax
lea ebx, [edi + 0x10]
add esi, edi
mov eax, dword [ebx]
xor edx, edx
mov ecx, 0x100f6120
add ebx, 0x10
mov dword [esp + 0x70], eax
mov eax, dword [ebx - 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ebx - 8]
mov dword [esp + 0x78], eax
mov eax, dword [ebx - 4]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x60]
call fcn.10001560
movzx edx, byte [esp + 0x60]
movzx eax, byte [esp + 0x65]
movzx ebp, byte [esp + 0x61]
mov edi, dword [edx*4 + 0x100f4020]
xor edi, dword [eax*4 + 0x100f4420]
movzx eax, byte [esp + 0x6a]
movzx edx, byte [esp + 0x64]
xor edi, dword [eax*4 + 0x100f4820]
movzx eax, byte [esp + 0x6f]
mov ecx, dword [edx*4 + 0x100f4020]
movzx edx, byte [esp + 0x68]
xor edi, dword [eax*4 + 0x100f4c20]
movzx eax, byte [esp + 0x69]
mov edx, dword [edx*4 + 0x100f4020]
xor ecx, dword [eax*4 + 0x100f4420]
movzx eax, byte [esp + 0x6e]
mov dword [esp + 0x50], edi
xor ecx, dword [eax*4 + 0x100f4820]
movzx eax, byte [esp + 0x63]
xor ecx, dword [eax*4 + 0x100f4c20]
movzx eax, byte [esp + 0x6d]
xor edx, dword [eax*4 + 0x100f4420]
movzx eax, byte [esp + 0x62]
mov dword [esp + 0x54], ecx
xor edx, dword [eax*4 + 0x100f4820]
movzx eax, byte [esp + 0x67]
xor edx, dword [eax*4 + 0x100f4c20]
movzx eax, byte [esp + 0x6c]
mov eax, dword [eax*4 + 0x100f4020]
xor eax, dword [ebp*4 + 0x100f4420]
movzx ebp, byte [esp + 0x66]
mov dword [esp + 0x58], edx
xor eax, dword [ebp*4 + 0x100f4820]
movzx ebp, byte [esp + 0x6b]
xor eax, dword [ebp*4 + 0x100f4c20]
mov dword [ebx - 0x10], edi
mov dword [ebx - 0xc], ecx
mov dword [ebx - 8], edx
mov dword [ebx - 4], eax
cmp esi, ebx
mov dword [esp + 0x5c], eax
jne 0x100020e1
jmp 0x100020ba
add esp, 0x38c
mov eax, 0xffffffea
pop ebx
pop esi
pop edi
pop ebp
ret