Function at 0x426840
Capabilities:
Encode data using xor
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4704de
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x48b084]
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 edi, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0xf4], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
test eax, eax
jle 0x4268ba
lea ecx, [esi + eax*2]
nop
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x4268b7
cmp edx, 0x5c
je 0x4268b7
dec eax
sub ecx, 2
test eax, eax
jg 0x4268a0
jmp 0x4268ba
lea esi, [ecx + 2]
push 0xb0
lea eax, [ebp - 0x1a8]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0x1a8]
call fcn.00416ed0
mov edx, 0x482084
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x198]
call fcn.0041cb60
push 0
mov ebx, eax
call fcn.004574d3
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xf8]
push eax
mov dword [ebp - 0xf4], edx
call fcn.004577a6
add esp, 8
mov dword [ebp - 0x1dc], 0x11
mov edx, eax
mov dword [ebp - 0x1d8], 0xc800b5
mov dword [ebp - 0x1d4], 0xb600bf
xor ecx, ecx
mov dword [ebp - 0x1d0], 0xb800f9
mov dword [ebp - 0x1cc], 0xf300b3
mov dword [ebp - 0x1c8], 0xbc00b8
mov dword [ebp - 0x1c4], 0xa100d2
mov dword [ebp - 0x1c0], 0xd000b9
mov dword [ebp - 0x1bc], 0xba00a4
mov dword [ebp - 0x1b8], 0xa100f3
nop
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x1d8], ax
inc ecx
mov eax, dword [ebp - 0x1dc]
cmp ecx, eax
jb 0x426980
xor ecx, ecx
mov word [ebp + eax*2 - 0x1d8], cx
lea eax, [ebp - 0x1d8]
push edx
push eax
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.00455c7c
add esp, 0x10
mov dword [ebp - 0xe0], 0
xor eax, eax
mov dword [ebp - 0xdc], 7
lea ecx, [ebp - 0xd8]
mov word [ebp - 0xf0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4269e5
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040c1a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
mov ecx, ebx
push dword [ebp - 0xe0]
cmovae edx, dword [ebp - 0xf0]
call fcn.0041d150
add esp, 4
mov edx, 0x48207c
mov ecx, eax
call fcn.0041cb60
mov ecx, dword [ebp + 8]
sub ecx, 0
je 0x426a62
sub ecx, 1
je 0x426a5b
sub ecx, 3
je 0x426a54
mov edx, 0x3f
jmp 0x426a67
mov edx, 0x44
jmp 0x426a67
mov edx, 0x4d
jmp 0x426a67
mov edx, 0x45
mov ecx, eax
call fcn.00426f60
mov edx, 0x481e70
mov ecx, eax
call fcn.0041cb60
mov edx, esi
mov ecx, eax
call fcn.0041cb60
mov edx, 0x481f0c
mov ecx, eax
call fcn.0041cb60
push dword [ebp - 0x1e0]
mov ecx, eax
call fcn.00426e00
mov edx, 0x482078
mov ecx, eax
call fcn.0041cb60
mov ecx, dword [ebp - 0x1e4]
mov esi, eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.00416e10
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x426acb
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.0041d150
mov edx, 2
mov dword [ebp - 0x1b0], 0x9b009d
add esp, 4
mov dword [ebp - 0x1b4], edx
mov esi, eax
mov dword [ebp - 0x1ac], 0x92
xor ecx, ecx
nop dword [eax + eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x1b0], ax
inc ecx
mov edx, dword [ebp - 0x1b4]
cmp ecx, edx
jb 0x426b00
xor eax, eax
mov ecx, esi
mov word [ebp + edx*2 - 0x1b0], ax
lea edx, [ebp - 0x1b0]
call fcn.0041cb60
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1e8]
cmp edx, 8
jb 0x426b74
mov ecx, dword [ebp - 0x1fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426b6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426dde
push edx
push ecx
call fcn.00447495
add esp, 8
xor eax, eax
mov dword [ebp - 0x1ec], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x1e8], 7
mov word [ebp - 0x1fc], ax
cmp edx, 8
jb 0x426bd4
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426bca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426de3
push edx
push ecx
call fcn.00447495
add esp, 8
mov byte [ebp - 4], 3
xor eax, eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov dword [ebp - 0xf4], 5
test cl, 2
jne 0x426c32
mov eax, dword [ebp - 0x170]
mov edx, dword [eax]
test edx, edx
je 0x426c32
cmp edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x180]
cmovb edx, dword [ebp - 0x158]
mov ecx, dword [eax]
sub edx, ecx
sar edx, 1
push edx
jmp 0x426c5c
test cl, 4
jne 0x426c68
mov eax, dword [ebp - 0x174]
mov edx, dword [eax]
test edx, edx
je 0x426c68
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
add eax, eax
sub eax, ecx
add eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xf0]
call fcn.0040c1a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
cmovae eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0xdc]
cmp edx, 8
jb 0x426cca
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426cc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426de8
push edx
push ecx
call fcn.00447495
add esp, 8
cmp dword [edi + 0x18], 0
je 0x426db5
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00416e10
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
call fcn.004167a0
mov edx, dword [ebp - 0x1e8]
cmp edx, 8
jb 0x426d37
mov ecx, dword [ebp - 0x1fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426d2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426ded
push edx
push ecx
call fcn.00447495
add esp, 8
cmp dword [ebp - 0xdc], 0x10
lea ecx, [ebp - 0xf4]
push 0
push ecx
push dword [ebp - 0xe0]
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
push eax
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x426d6d
call fcn.00414e90
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x426d7f
call fcn.00414e90
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x426db5
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426dab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426df2
push edx
push ecx
call fcn.00447495
add esp, 8
lea ecx, [ebp - 0x1a8]
call fcn.00416d10
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.00446e47
mov esp, ebp
pop ebp
ret 0x14
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
int3