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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425bd1
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x43706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x675208]
test eax, eax
jne 0x402a15
call fcn.00402900
mov dword [0x675208], eax
test eax, eax
je 0x402a07
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x402ca9
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x402c86
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
push 0x38
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0040e990
add esp, 0xc
lea ecx, [ebp - 0x164]
call fcn.00402d70
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.00402e60
mov esi, eax
mov byte [ebp - 4], 2
cmp byte [ebp - 0x114], 0
jne 0x402aaf
xor ecx, ecx
jmp 0x402ac1
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402ab8
sub ecx, edx
sub esp, 8
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x164]
add edx, ecx
lea ecx, [ebp - 0x114]
push esi
push eax
call fcn.00403810
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
mov bl, al
call fcn.00402dd0
test bl, bl
je 0x402b28
lea eax, [ebp - 0x184]
push eax
push ecx
lea ecx, [ebp - 0x164]
call fcn.00402d40
mov ecx, eax
call fcn.00402f00
push eax
lea ecx, [ebp - 0x12c]
call fcn.00402f20
lea ecx, [ebp - 0x184]
call fcn.004014d0
mov dword [ebp - 0x17c], 0x77716777
xor ecx, ecx
mov dword [ebp - 0x178], 0x2669696c
mov dword [ebp - 0x174], 0x67666d
mov byte [ebp - 0x170], 1
nop
mov al, cl
inc al
xor byte [ebp + ecx - 0x17c], al
inc ecx
cmp ecx, 0xb
jb 0x402b50
lea eax, [ebp - 0x17c]
mov byte [ebp - 0x170], 0
push eax
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x19c]
call fcn.004032f0
add esp, 4
lea ecx, [ebp - 0x12c]
push eax
call fcn.00402f20
lea ecx, [ebp - 0x19c]
call fcn.004014d0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0
cmovae eax, dword [ebp - 0x12c]
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.0040a481
add esp, 4
push 0
push eax
push 0x6800
push 0x66d8b0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x16c], 0x70707b52
xor ecx, ecx
mov dword [ebp - 0x168], 0x1006b60
mov al, cl
inc al
xor byte [ebp + ecx - 0x16c], al
inc ecx
cmp ecx, 6
jb 0x402c04
mov byte [ebp - 0x165], 0
xor ecx, ecx
mov dword [ebp - 0x178], 0x76627652
mov dword [ebp - 0x174], 0x69402671
mov dword [ebp - 0x170], 0x1006f64
nop dword [eax]
mov al, cl
inc al
xor byte [ebp + ecx - 0x178], al
inc ecx
cmp ecx, 0xa
jb 0x402c40
push 0
lea eax, [ebp - 0x16c]
mov byte [ebp - 0x16d], 0
push eax
lea eax, [ebp - 0x178]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x15c]
call fcn.00403020
lea ecx, [ebp - 0x12c]
call fcn.004014d0
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 - 0x10]
xor ecx, ebp
call fcn.0040a470
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x16c], 0x70707b52
xor ecx, ecx
mov dword [ebp - 0x168], 0x1006b60
nop
mov al, cl
inc al
xor byte [ebp + ecx - 0x16c], al
inc ecx
cmp ecx, 6
jb 0x402cc0
movaps xmm0, xmmword [str.Gcjh_bfjxyolx]
xor ecx, ecx
mov byte [ebp - 0x165], 0
movups xmmword [ebp - 0x180], xmm0
mov word [ebp - 0x170], 0x100
mov al, cl
inc al
xor byte [ebp + ecx - 0x180], al
inc ecx
cmp ecx, 0x10
jb 0x402cf1
push 0x10
lea eax, [ebp - 0x16c]
mov byte [ebp - 0x16f], 0
push eax
lea eax, [ebp - 0x180]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00412252
int3