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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424a21
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x43506c]
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 [0x44c7d8]
test eax, eax
jne 0x4028e5
call fcn.004027c0
mov dword [0x44c7d8], eax
test eax, eax
je 0x4028d7
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x402b79
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x402b56
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.0040e870
add esp, 0xc
lea ecx, [ebp - 0x16c]
call fcn.00402c40
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
call fcn.00402d30
mov esi, eax
mov byte [ebp - 4], 2
cmp byte [ebp - 0x11c], 0
jne 0x40297f
xor ecx, ecx
jmp 0x402991
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402988
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.004036e0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
mov bl, al
call fcn.00402ca0
test bl, bl
je 0x4029f8
lea eax, [ebp - 0x18c]
push eax
push ecx
lea ecx, [ebp - 0x16c]
call fcn.00402c10
mov ecx, eax
call fcn.00402dd0
push eax
lea ecx, [ebp - 0x134]
call fcn.00402df0
lea ecx, [ebp - 0x18c]
call fcn.00401390
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 0x402a20
lea eax, [ebp - 0x184]
mov byte [ebp - 0x178], 0
push eax
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x1a4]
call fcn.004031c0
add esp, 4
lea ecx, [ebp - 0x134]
push eax
call fcn.00402df0
lea ecx, [ebp - 0x1a4]
call fcn.00401390
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.0040a325
add esp, 4
push 0
push eax
push 0x6800
push 0x444e80
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 0x402ad4
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 0x402b10
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.00402ef0
lea ecx, [ebp - 0x134]
call fcn.00401390
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.0040a314
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 0x402b90
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 0x402bc1
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.004114f2
int3