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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x60]
lea eax, [ebx - 0x2a0]
mov dword [esp + 0x18], eax
lea eax, [edi - 0x414]
mov dword [esp + 0x10], eax
lea eax, [esi - 0x55]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
lea ebp, [eax - 0x14fb]
add eax, 0x55
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
add eax, 0xffffe797
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], eax
lea ebp, [ecx - 0x140]
lea eax, [edx - 0x1648]
mov dword [esp + 0x58], ebp
mov ecx, eax
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0xb5]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], eax
lea edx, [edi - 0x18b]
lea eax, [esi - 0x1550]
mov dword [esp + 0x60], edx
mov dword [esp + 0x80], eax
lea eax, [edi - 0x7fd]
cmp dword [esp + 0x20], eax
jg 0x100012eb
lea edi, [ebx + 0xb5]
lea eax, [edi - 0x495]
cmp ebp, eax
jl 0x10001137
mov edi, ecx
lea eax, [edi + 0x14e4]
cmp ecx, eax
jg 0x100014eb
mov ecx, dword [esp + 0x78]
mov esi, edi
mov eax, dword [ecx + 0xe8]
mov dword [ecx + 0x90], eax
lea eax, [edx - 0x215]
push eax
push ecx
lea eax, [edi + 0x139b]
push eax
lea eax, [esi + 0x1550]
push eax
mov eax, dword [esp + 0x8c]
push ecx
add eax, 0xfffffc87
push eax
push ecx
lea eax, [ebp - 0x20a]
push eax
mov eax, dword [esp + 0xa0]
add eax, 0x14e4
push eax
lea eax, [ebx - 0x5ad]
push eax
lea eax, [esi + 0x11d7]
push eax
sub esp, 8
call fcn.10002060
mov eax, dword [esp + 0x48]
add esp, 0x34
add eax, 0x139b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov esi, dword [esp + 0x78]
lea ecx, [ebx - 0x2a0]
mov eax, dword [esi + 0xd8]
sub eax, dword [esi + 0x50]
imul eax, edi
cmp ecx, eax
jb 0x1000118f
mov eax, dword [esi + 0x12c]
and eax, 0x13a4
xor eax, dword [esi + 0xfc]
push eax
mov eax, dword [esi + 0x98]
xor eax, ebp
and eax, 0x1869
push eax
mov eax, dword [esp + 0x24]
xor eax, 0x1197
add eax, dword [esi + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x170]
mov edi, ecx
xor eax, 0x14fb
mov dword [esp + 0x20], ecx
cmp ecx, eax
jae 0x100014eb
nop dword [eax + eax]
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x10]
or eax, dword [esi + 0x198]
mov ebx, dword [esi + 0xc8]
cmp ebx, eax
jae 0x1000120f
mov eax, ebp
xor eax, 0x1197
add eax, 0x11d7
cmp ecx, eax
je 0x100012bb
mov ecx, dword [esi + 0xf8]
or ecx, dword [esp + 0x80]
mov eax, dword [esi + 0x15c]
and ecx, 0x1197
or ecx, edx
xor eax, ebp
mov edx, dword [esi + 0x19c]
add ecx, eax
add edx, ecx
imul edx, ecx
mov dword [esp + 0x60], edx
jmp 0x100012bb
mov ecx, dword [esi + 8]
or ebx, 0x14e4
mov eax, dword [esi + 0x30]
mov ebp, dword [esi + 0x50]
sub eax, ecx
xor ecx, dword [esp + 0x10]
xor ebp, edx
mov edx, dword [esi + 0x2c]
or ebp, 0x14fb
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
add edi, 0xffffe935
imul eax, dword [esp + 0x7c], 0x1784
xor edi, dword [esi + 0x50]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x24]
and edx, ecx
sub ecx, dword [esi + 0x1c]
add ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x5c]
mov eax, ecx
push esi
xor eax, 0x11d7
mov dword [esp + 0x3c], ebx
mov ebx, dword [esi + 0x68]
or ebx, dword [esp + 0x24]
xor ebx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x70]
or eax, dword [esp + 0x68]
or eax, dword [esp + 0x24]
push edx
push dword [esp + 0x40]
mov edx, ecx
or edx, dword [esp + 0x28]
push eax
push edi
push ebx
lea eax, [ecx - 0x2fbd]
mov ecx, dword [esp + 0x58]
push ebp
push eax
push dword [esp + 0x5c]
call fcn.10001000
mov edx, dword [esp + 0x90]
add esp, 0x30
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x170]
add edi, 2
xor ecx, 0x14fb
mov dword [esp + 0x20], edi
cmp edi, ecx
mov ecx, dword [esp + 0x18]
jb 0x100011b0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
add eax, 0x139b
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
and eax, edx
mov dword [esp + 0x4c], eax
and eax, dword [esp + 0x58]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x2c], esi
cmp esi, eax
jg 0x100014eb
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x58]
or ebx, 0x1648
mov dword [esp + 0x7c], ebx
mov edi, dword [ebp + 0x50]
cmp edi, ebx
jg 0x100014d4
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, edx
xor eax, 0x1292
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, edx
imul eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
or eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, ebx
sub eax, edi
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
nop word [eax + eax]
mov ebx, dword [ebp + 0x10c]
mov esi, dword [ebp + 0xf8]
xor ebx, ecx
mov ecx, dword [ebp + 0x94]
or esi, 0x119a
imul ecx, dword [ebp + 0x194]
sub edx, dword [ebp + 0xfc]
mov edi, dword [ebp + 0x19c]
and edi, dword [ebp + 0x12c]
and edi, dword [ebp + 0xc8]
imul eax, eax, 0x1784
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push esi
sub esp, 8
or eax, 0x1648
push eax
push edi
push ecx
push dword [esp + 0x58]
mov ecx, ebx
push ebp
call fcn.1000d5b0
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x16c]
xor eax, 0xffffff5f
mov edi, dword [ecx + 0x194]
and eax, 0x14e4
mov esi, dword [ecx + 0x1c4]
add edi, 0x2aff
mov edx, dword [ecx + 0xfc]
mov dword [esp + 0x74], eax
or edx, 0x13fc
mov eax, dword [ebp + 0x1b8]
add eax, dword [ebp + 0x12c]
mov ebp, dword [ebp + 0x30]
imul ebp, dword [ecx + 0x170]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0xd8]
mov ebx, eax
and ebx, dword [ecx + 0x50]
mov ecx, dword [esp + 0x64]
or ecx, eax
add esi, dword [esp + 0x5c]
mov eax, dword [esp + 0xa4]
sub ebp, 0x1a46
mov eax, dword [eax + 0x38]
add eax, dword [esp + 0x44]
imul eax, eax, 0x1648
push eax
mov eax, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x80]
imul eax, ecx
and ecx, 0x1002
push eax
push dword [esp + 0x78]
push dword [esp + 0x80]
push esi
push ecx
push edi
push ebx
push ebp
push dword [esp + 0x9c]
mov ebp, dword [esp + 0xd4]
mov ecx, ebp
call fcn.10001500
mov edx, dword [esp + 0xbc]
add esp, 0x5c
sub dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
jne 0x10001380
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
inc esi
and ecx, eax
mov dword [esp + 0x2c], esi
cmp esi, ecx
mov ecx, dword [esp + 0x54]
jle 0x10001321
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
add eax, 0x139b
pop ebx
add esp, 0x40
ret