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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov edx, 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
test eax, eax
jne 0x1006ce91
push 0x10e
mov eax, 0x9f
push str...cryptoevpevp_lib.c
push 6
lea ecx, [eax + 3]
call fcn.1002c650
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.100ae60d
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
test eax, eax
jl 0x1006d0a1
mov esi, dword [ebp + 0x1c]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov ebx, ecx
mov dword [esp + 0x18], esi
test edi, edi
je 0x1006cf11
cmp dword [ebp + 8], 0xffffffff
jne 0x1006cf14
mov eax, edi
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1006cf06
sub eax, dword [esp + 0x14]
mov dword [ebp + 8], eax
test esi, esi
jne 0x1006cf58
lea edi, [esp + 0x4c]
call fcn.1002be80
lea edi, [esp + 0x64]
call fcn.1002be80
lea edi, [esp + 0x34]
call fcn.1002be80
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.100ae60d
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp esi, eax
jle 0x1006cf62
mov esi, eax
mov ecx, edx
mov eax, edx
shr ecx, 0x10
shr eax, 0x18
mov byte [esp + 0x11], cl
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x10], al
mov eax, edx
mov byte [esp + 0x13], dl
mov edx, dword [ebp + 8]
push ecx
push edx
shr eax, 8
push edi
xor edx, edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e], al
call fcn.10080be0
add esp, 0xc
test eax, eax
je 0x1006d086
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
call dword [esp + 0x54]
add esp, 0xc
test eax, eax
je 0x1006d086
push 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
call dword [esp + 0x54]
add esp, 0xc
test eax, eax
je 0x1006d086
lea edx, [esp + 0x100]
push 0
push edx
lea ecx, [esp + 0x38]
call fcn.10080dc0
add esp, 8
test eax, eax
je 0x1006d086
push esi
lea eax, [esp + 0x104]
push eax
push ebx
call fcn.100b3140
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp eax, 1
jle 0x1006d069
dec eax
mov dword [esp + 0x14], eax
jmp 0x1006d020
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x100]
push ecx
push edx
mov edx, dword [esp + 0x28]
mov eax, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, edi
call fcn.10080f40
add esp, 0x10
test esi, esi
jle 0x1006d062
lea ecx, [esp + 0x100]
mov eax, ebx
sub ecx, ebx
mov edi, esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x1006d053
mov edi, dword [esp + 0x28]
sub dword [esp + 0x14], 1
jne 0x1006d020
mov eax, dword [esp + 0x18]
inc dword [esp + 0x1c]
sub eax, esi
add ebx, esi
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1006cf50
jmp 0x1006cf18
lea edi, [esp + 0x4c]
call fcn.1002be80
lea edi, [esp + 0x64]
call fcn.1002be80
lea edi, [esp + 0x34]
call fcn.1002be80
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100ae60d
mov esp, ebp
pop ebp
ret