Function at 0x402a20
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x416004]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
test dl, dl
jne 0x402c50
xor edi, edi
xor ebx, ebx
push edi
push edi
push 4
push edi
push 1
push 0x80000000
push ecx
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x402c3c
push 2
xorps xmm0, xmm0
lea eax, [esp + 0x3c]
push eax
movlpd qword [esp + 0x18], xmm0
push dword [esp + 0x1c]
movlpd qword [esp + 0x44], xmm0
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x402ad4
mov edi, dword [esp + 0x38]
push edi
call fcn.00402fdf
push edi
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x38], ebx
call fcn.00404130
add esp, 0x10
lea eax, [esp + 0x38]
push 0
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x402ad4
push 0
lea eax, [esp + 0x44]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x402c3c
test ebx, ebx
je 0x402c3c
cmp edi, 0xa
jae 0x402af5
or esi, 0xffffffff
jmp 0x402b11
movzx eax, byte [ebx + 8]
mov esi, edi
mov byte [esp + 0x34], al
movzx eax, byte [ebx + 9]
mov byte [esp + 0x35], al
movzx eax, word [esp + 0x34]
sub esi, eax
sub esi, 0xa
push esi
mov dword [esp + 0x14], esi
call fcn.00402fdf
lea ecx, [esi + 0xa]
mov dword [esp + 0x34], eax
add esp, 4
cmp ecx, edi
jge 0x402c16
movzx ecx, byte [ebx + 8]
mov byte [esp + 0x34], cl
movzx ecx, byte [ebx + 9]
mov byte [esp + 0x35], cl
movzx ecx, word [esp + 0x34]
lea eax, [ecx + 0xa]
add eax, esi
cmp edi, eax
jne 0x402c16
push ecx
call fcn.004064e7
movzx ecx, word [esp + 0x38]
push ecx
lea ecx, [ebx + 0xa]
mov dword [esp + 0x34], eax
push ecx
push eax
call fcn.004049f0
movzx eax, word [esp + 0x44]
add esp, 0x10
xor edi, edi
mov dword [esp + 0x1c], 0x37313826
mov dword [esp + 0x20], 0x2f414030
mov word [esp + 0x24], 0x3e63
test eax, eax
je 0x402bbe
movzx esi, word [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov eax, 0xcccccccd
mul edi
mov eax, edi
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov al, byte [esp + eax + 0x1c]
xor byte [edi + ebx], al
inc edi
cmp edi, esi
jl 0x402b97
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
xor ecx, ecx
test esi, esi
jle 0x402bff
movzx edi, word [esp + 0x34]
lea eax, [edi + 0xa]
add eax, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, ecx
cdq
idiv edi
mov eax, dword [esp + 0x2c]
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x10]
mov al, byte [eax + ecx]
test al, al
je 0x402bf3
cmp al, dl
je 0x402bf3
xor al, dl
mov byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jl 0x402bd6
mov ebx, dword [esp + 0x28]
push dword [esp + 0x2c]
call fcn.00405f9a
add esp, 4
push 0
push dword [esp + 0x34]
call fcn.0040158f
push ebx
call fcn.00402fda
push dword [esp + 0x34]
call fcn.00402fda
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00402fc9
mov esp, ebp
pop ebp
ret
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00402fc9
mov esp, ebp
pop ebp
ret
sub esp, 8
call fcn.004026a0
add esp, 8
push 0
push 0x416880
call fcn.0040158f
mov ecx, dword [esp + 0x44]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402fc9
mov esp, ebp
pop ebp
ret