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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4733db
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.0044ee30
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 [0x4a0428]
cmp eax, dword [ecx + 4]
jle 0x414896
push 0x4a0428
call fcn.00437568
add esp, 4
cmp dword [0x4a0428], 0xffffffff
jne 0x414896
movaps xmm0, xmmword [0x4897b0]
mov al, byte [ebp - 0x491]
movups xmmword [0x4a05b8], xmm0
push 0x478470
movq xmm0, qword [ebp - 0x430]
movq qword [0x4a05c8], xmm0
mov byte [0x4a05d0], al
call fcn.0043798f
push 0x4a0428
call fcn.0043751e
add esp, 8
cmp byte [0x4a05d0], 0
je 0x4148cd
movups xmm0, xmmword [0x4a05b8]
mov eax, 0x10
movaps xmm1, xmmword [0x489130]
pxor xmm1, xmm0
movups xmmword [0x4a05b8], xmm1
nop dword [eax]
xor byte [eax + 0x4a05b8], 0x2e
inc eax
cmp eax, 0x19
jb 0x4148c0
mov ecx, 0x4a05b8
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 0x4148f0
sub ecx, edx
push ecx
push 0x4a05b8
lea ecx, [ebp - 0x4ac]
call fcn.00401f50
push 0x50
lea eax, [ebp - 0x490]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0044ee30
add esp, 0xc
lea ecx, [ebp - 0x490]
call fcn.00417340
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.004198a0
lea ecx, [ebp - 0x490]
call fcn.00417280
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 0x4149d6
mov ecx, dword [ebp - 0x4c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4149cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414aad
push edx
push ecx
call fcn.00437415
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 0x414a2d
mov ecx, dword [ebp - 0x4ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414a23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414aad
push edx
push ecx
call fcn.00437415
add esp, 8
lea eax, [ebp - 0x424]
push 0x487c98
push eax
call fcn.00456710
mov esi, eax
add esp, 8
test esi, esi
je 0x414a70
mov ecx, 0x4970f0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414a50
push esi
sub ecx, edx
push ecx
push 1
push 0x4970f0
call fcn.004565f7
push esi
call fcn.00452af5
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.004373d4
mov esp, ebp
pop ebp
ret
call fcn.0045219a
int3