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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1002200c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.100018d0
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10001e13
mov edx, dword [esp + 0xc]
mov ecx, eax
push 0
sub esp, 0xc
push 0x10002cf0
push 0x10002cd0
call fcn.10002d50
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x10001e07
mov edx, 0xa
mov dword [esp + 0x14], 0xc3e8efeb
mov dword [esp + 0x10], edx
xor ecx, ecx
mov dword [esp + 0x18], 0xf4f2e2fb
mov dword [esp + 0x1c], 0x94e0e0
nop word [eax + eax]
lea eax, [ecx - 0x76]
xor byte [esp + ecx + 0x14], al
inc ecx
mov edx, dword [esp + 0x10]
cmp ecx, edx
jb 0x10001c60
mov byte [esp + edx + 0x14], 0
lea ecx, [esp + 0x14]
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], edx
cmp dword [esi + 0x7c], 0
je 0x10001d80
mov esi, dword [esi + 0x78]
add esi, edx
cmp dword [esi + 0x18], 0
je 0x10001d80
cmp dword [esi + 0x14], 0
je 0x10001d80
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x10001cc7
mov eax, dword [esi + 0x10]
movzx ecx, cx
cmp ecx, eax
jb 0x10001d80
sub ecx, eax
jmp 0x10001d6e
cmp dword [ebx + 0x30], 0
jne 0x10001d48
mov edi, dword [esi + 0x20]
xor ecx, ecx
mov ebx, dword [esi + 0x24]
add edi, edx
mov eax, dword [esi + 0x18]
add ebx, edx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000a3dd
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [eax + 0x30], ecx
test ecx, ecx
jne 0x10001d04
push 0xe
jmp 0x10001d82
mov eax, dword [esi + 0x18]
xor edx, edx
test eax, eax
je 0x10001d31
nop dword [eax]
mov eax, dword [edi]
lea edi, [edi + 4]
add eax, dword [esp + 0xc]
lea ebx, [ebx + 2]
mov dword [ecx], eax
lea ecx, [ecx + 8]
mov ax, word [ebx - 2]
inc edx
mov word [ecx - 4], ax
mov eax, dword [esi + 0x18]
cmp edx, eax
jb 0x10001d10
mov ebx, dword [esp + 0x20]
push 0x10003200
push 8
push eax
push dword [ebx + 0x30]
call fcn.1000a3f0
add esp, 0x10
push 0x10003200
push 8
push dword [esi + 0x18]
lea eax, [esp + 0x4c]
push dword [ebx + 0x30]
push eax
call fcn.1000a8de
add esp, 0x14
test eax, eax
je 0x10001d80
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0xc]
cmp ecx, dword [esi + 0x14]
ja 0x10001d80
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + edx]
add esi, edx
jmp 0x10001d8a
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
push 2
push dword [0x100234b8]
call fcn.10006d2c
add esp, 8
test eax, eax
jne 0x10001e07
mov dword [esp + 0x24], 9
xor ecx, ecx
mov dword [esp + 0x28], 0xe200fc
mov dword [esp + 0x2c], 0xe800e8
mov dword [esp + 0x30], 0xa100e1
mov dword [esp + 0x34], 0xfd00f4
mov dword [esp + 0x38], 0x9300fe
lea eax, [ecx + 0x8a]
xor word [esp + ecx*2 + 0x28], ax
inc ecx
mov eax, dword [esp + 0x24]
cmp ecx, eax
jb 0x10001dd0
xor ecx, ecx
mov word [esp + eax*2 + 0x28], cx
lea eax, [esp + 0x28]
push 2
push eax
call fcn.10006d2c
add esp, 8
test eax, eax
jne 0x10001e07
push 2
push 0x6f
call esi
add esp, 8
push dword [esp + 0x3c]
call fcn.1000a0ae
add esp, 4
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100034da
mov esp, ebp
pop ebp
ret