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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47342b
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x493018]
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 dword [ebp - 0x10], esp
mov esi, ecx
push 0x410
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0044edc0
mov eax, dword fs:[0x2c]
add esp, 0xc
mov dword [ebp - 0x430], 0xf0f0f6f
mov dword [ebp - 0x42c], 0x5a565a00
mov byte [ebp - 0x491], 0x2e
mov ecx, dword [eax]
mov eax, dword [0x4a0590]
cmp eax, dword [ecx + 4]
jle 0x414856
push 0x4a0590
call fcn.004374fa
add esp, 4
cmp dword [0x4a0590], 0xffffffff
jne 0x414856
movaps xmm0, xmmword [0x489d60]
mov al, byte [ebp - 0x491]
movups xmmword [0x4a0720], xmm0
push 0x4784c0
movq xmm0, qword [ebp - 0x430]
movq qword [0x4a0730], xmm0
mov byte [0x4a0738], al
call fcn.00437921
push 0x4a0590
call fcn.004374b0
add esp, 8
cmp byte [0x4a0738], 0
je 0x41488d
movups xmm0, xmmword [0x4a0720]
mov eax, 0x10
movaps xmm1, xmmword [0x4896d0]
pxor xmm1, xmm0
movups xmmword [0x4a0720], xmm1
nop dword [eax]
xor byte [eax + 0x4a0720], 0x2e
inc eax
cmp eax, 0x19
jb 0x414880
mov ecx, 0x4a0720
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 0xf
mov byte [ebp - 0x4ac], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4148b0
sub ecx, edx
push ecx
push 0x4a0720
lea ecx, [ebp - 0x4ac]
call fcn.00401f60
push 0x50
lea eax, [ebp - 0x490]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0044edc0
add esp, 0xc
lea ecx, [ebp - 0x490]
call fcn.00417300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4ac]
cmp dword [ebp - 0x498], 0x10
mov eax, dword [ebp - 0x49c]
cmovae ecx, dword [ebp - 0x4ac]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x490]
call fcn.00419860
lea ecx, [ebp - 0x490]
call fcn.00417240
cmp dword [ebp - 0x4b0], 8
lea eax, [ebp - 0x4c4]
cmovae eax, dword [ebp - 0x4c4]
push eax
push esi
lea eax, [ebp - 0x424]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x4b0]
add esp, 0x10
cmp edx, 8
jb 0x414996
mov ecx, dword [ebp - 0x4c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41498c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a6d
push edx
push ecx
call fcn.004373a7
add esp, 8
mov edx, dword [ebp - 0x498]
xor eax, eax
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 7
mov word [ebp - 0x4c4], ax
cmp edx, 0x10
jb 0x4149ed
mov ecx, dword [ebp - 0x4ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4149e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a6d
push edx
push ecx
call fcn.004373a7
add esp, 8
lea eax, [ebp - 0x424]
push 0x4880cc
push eax
call fcn.00452ac4
mov esi, eax
add esp, 8
test esi, esi
je 0x414a30
mov ecx, 0x4970f0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414a10
push esi
sub ecx, edx
push ecx
push 1
push 0x4970f0
call fcn.00456697
push esi
call fcn.00452b99
add esp, 0x14
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.00437366
mov esp, ebp
pop ebp
ret
call fcn.0045212a
int3