Function at 0x402b60
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427071
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x43806c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x671408]
test eax, eax
jne 0x402ba5
call fcn.00402a80
mov dword [0x671408], eax
test eax, eax
je 0x402b97
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x402e39
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x402e16
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
push 0x38
lea eax, [ebp - 0x16c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0040eb20
add esp, 0xc
lea ecx, [ebp - 0x16c]
call fcn.00402f00
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
call fcn.00402ff0
mov esi, eax
mov byte [ebp - 4], 2
cmp byte [ebp - 0x11c], 0
jne 0x402c3f
xor ecx, ecx
jmp 0x402c51
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402c48
sub ecx, edx
sub esp, 8
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x16c]
add edx, ecx
lea ecx, [ebp - 0x11c]
push esi
push eax
call fcn.004039a0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
mov bl, al
call fcn.00402f60
test bl, bl
je 0x402cb8
lea eax, [ebp - 0x18c]
push eax
push ecx
lea ecx, [ebp - 0x16c]
call fcn.00402ed0
mov ecx, eax
call fcn.00403090
push eax
lea ecx, [ebp - 0x134]
call fcn.004030b0
lea ecx, [ebp - 0x18c]
call fcn.00401650
mov dword [ebp - 0x184], 0x77716777
xor ecx, ecx
mov dword [ebp - 0x180], 0x2669696c
mov dword [ebp - 0x17c], 0x67666d
mov byte [ebp - 0x178], 1
nop
mov al, cl
inc al
xor byte [ebp + ecx - 0x184], al
inc ecx
cmp ecx, 0xb
jb 0x402ce0
lea eax, [ebp - 0x184]
mov byte [ebp - 0x178], 0
push eax
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x1a4]
call fcn.00403480
add esp, 4
lea ecx, [ebp - 0x134]
push eax
call fcn.004030b0
lea ecx, [ebp - 0x1a4]
call fcn.00401650
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
push 0
cmovae eax, dword [ebp - 0x134]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 4
mov esi, eax
call fcn.0040a611
add esp, 4
push 0
push eax
push 0x6800
push 0x669ab0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x174], 0x70707b52
xor ecx, ecx
mov dword [ebp - 0x170], 0x1006b60
mov al, cl
inc al
xor byte [ebp + ecx - 0x174], al
inc ecx
cmp ecx, 6
jb 0x402d94
mov byte [ebp - 0x16d], 0
xor ecx, ecx
mov dword [ebp - 0x180], 0x76627652
mov dword [ebp - 0x17c], 0x69402671
mov dword [ebp - 0x178], 0x1006f64
nop dword [eax]
mov al, cl
inc al
xor byte [ebp + ecx - 0x180], al
inc ecx
cmp ecx, 0xa
jb 0x402dd0
push 0
lea eax, [ebp - 0x174]
mov byte [ebp - 0x175], 0
push eax
lea eax, [ebp - 0x180]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x164]
call fcn.004031b0
lea ecx, [ebp - 0x134]
call fcn.00401650
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040a600
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x174], 0x70707b52
xor ecx, ecx
mov dword [ebp - 0x170], 0x1006b60
nop
mov al, cl
inc al
xor byte [ebp + ecx - 0x174], al
inc ecx
cmp ecx, 6
jb 0x402e50
movaps xmm0, xmmword [str.Gcjh_bfjxyolx]
xor ecx, ecx
mov byte [ebp - 0x16d], 0
movups xmmword [ebp - 0x188], xmm0
mov word [ebp - 0x178], pe_nt_image_headers32
mov al, cl
inc al
xor byte [ebp + ecx - 0x188], al
inc ecx
cmp ecx, 0x10
jb 0x402e81
push 0x10
lea eax, [ebp - 0x174]
mov byte [ebp - 0x177], 0
push eax
lea eax, [ebp - 0x188]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00412512
int3