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

Disassembly:
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
mov esi, dword [0x484a00]
xor ecx, ecx
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ecx
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x28], eax
mov ebx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ebx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
test eax, eax
je 0x4017fe
mov ebp, dword [ebx]
xorps xmm0, xmm0
add ebp, esi
mov dword [esp + 0x3c], 0
mov esi, ebp
mov dword [esp + 0x40], 0
mov edx, 0x16
movups xmmword [esp + 0x2c], xmm0
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x401640
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x40186c
mov dword [esp + 0x40], 0xf
cmp esi, 0x10
jae 0x401674
push esi
lea eax, [esp + 0x30]
mov dword [esp + 0x40], esi
push ebp
push eax
call fcn.0040e220
jmp 0x4016f2
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x401690
mov ecx, 0x80000000
mov edi, 0x7fffffff
add ecx, 0x23
jmp 0x4016ab
cmp edi, 0x16
cmovb edi, edx
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x4016c7
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x401871
push ecx
call fcn.00403285
add esp, 4
test eax, eax
je 0x401876
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4016da
test eax, eax
je 0x4016d8
push eax
call fcn.00403285
add esp, 4
mov ebx, eax
jmp 0x4016da
xor ebx, ebx
push esi
push ebp
push ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
call fcn.0040cca0
mov byte [ebx + esi], 0
mov eax, dword [esp + 0x48]
lea ebp, [esp + 0x38]
mov edx, dword [esp + 0x38]
mov edi, eax
add esp, 0xc
xor edi, 0x235
cmp dword [esp + 0x40], 0x10
mov ebx, eax
cmovae ebp, edx
shr ebx, 2
xor esi, esi
test ebx, ebx
je 0x401759
nop dword [eax]
push ebp
push ebx
push str._x_and__p
call fcn.00401050
imul ecx, dword [ebp + esi*4], 0x5bd1e995
add esp, 0xc
imul edi, edi, 0x5bd1e995
inc esi
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor edi, ecx
cmp esi, ebx
jl 0x401720
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
and eax, 3
xor ecx, ecx
sub eax, 1
je 0x40177f
sub eax, 1
je 0x401775
sub eax, 1
jne 0x40178e
movsx ecx, byte [ebp + ebx*4 + 2]
shl ecx, 0x10
movsx eax, byte [ebp + ebx*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [ebp + ebx*4]
xor eax, ecx
imul eax, eax, 0x5bd1e995
xor edi, eax
mov eax, edi
shr eax, 0xd
xor eax, edi
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
cmp eax, dword [esp + 0x20]
je 0x401817
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
add ebx, 4
mov dword [esp + 0x18], ebx
cmp eax, 0x10
jb 0x4017e7
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4017dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401876
push ecx
push edx
call fcn.004032b5
add esp, 8
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x24]
jb 0x401613
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
add eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403277
add esp, 0x3c
ret
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
cmp eax, 0x10
jb 0x4017fe
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x401860
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401876
push ecx
push edx
call fcn.004032b5
add esp, 8
jmp 0x4017fe
call fcn.00401310
call fcn.00401220
call fcn.00428bd8
int3