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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44878e
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x45e084]
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 esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x1b0], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
test eax, eax
jle 0x424e32
lea ecx, [esi + eax*2]
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x424e2f
cmp edx, 0x5c
je 0x424e2f
dec eax
sub ecx, 2
test eax, eax
jg 0x424e18
jmp 0x424e32
lea esi, [ecx + 2]
push 0xb0
lea eax, [ebp - 0x1ac]
push 0
push eax
call fcn.004294d0
add esp, 4
lea ecx, [ebp - 0x1ac]
call fcn.00416220
mov edx, 0x4571b4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.0041b3e0
push 0
mov dword [ebp - 0x1b0], eax
call fcn.0043254f
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 0xf8], edx
call fcn.00432822
add esp, 8
mov dword [ebp - 0x1e4], 0x11
mov edx, eax
mov dword [ebp - 0x1e0], 0xc700b8
mov dword [ebp - 0x1dc], 0x8500b2
xor ecx, ecx
mov dword [ebp - 0x1d8], 0x8f00cc
mov dword [ebp - 0x1d4], 0xc00086
mov dword [ebp - 0x1d0], 0x830085
mov dword [ebp - 0x1cc], 0x9200ef
mov dword [ebp - 0x1c8], 0xe7008c
mov dword [ebp - 0x1c4], 0x890091
mov dword [ebp - 0x1c0], 0xae00fe
nop word [eax + eax]
lea eax, [ecx + 0x9d]
xor word [ebp + ecx*2 - 0x1e0], ax
inc ecx
mov eax, dword [ebp - 0x1e4]
cmp ecx, eax
jb 0x424f00
xor ecx, ecx
mov word [ebp + eax*2 - 0x1e0], cx
lea eax, [ebp - 0x1e0]
push edx
push eax
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0043113c
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 0x424f65
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040b6e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
push dword [ebp - 0xe0]
cmovae edx, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x1b0]
call fcn.0041b970
add esp, 4
mov edx, 0x4571ac
mov ecx, eax
call fcn.0041b3e0
mov edx, 0x45
mov ecx, eax
call fcn.004254c0
mov edx, 0x456fa0
mov ecx, eax
call fcn.0041b3e0
mov edx, esi
mov ecx, eax
call fcn.0041b3e0
mov edx, 0x45703c
mov ecx, eax
call fcn.0041b3e0
push ebx
mov ecx, eax
call fcn.00425360
mov edx, 0x4571a8
mov ecx, eax
call fcn.0041b3e0
mov ecx, dword [ebp - 0xf4]
mov esi, eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.00416160
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x425023
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.0041b970
mov edx, 2
mov dword [ebp - 0x1b8], 0x940090
add esp, 4
mov dword [ebp - 0x1bc], edx
mov esi, eax
mov dword [ebp - 0x1b4], 0x9f
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0x9d]
xor word [ebp + ecx*2 - 0x1b8], ax
inc ecx
mov edx, dword [ebp - 0x1bc]
cmp ecx, edx
jb 0x425060
xor eax, eax
mov ecx, esi
mov word [ebp + edx*2 - 0x1b8], ax
lea edx, [ebp - 0x1b8]
call fcn.0041b3e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1e8]
cmp edx, 8
jb 0x4250d4
mov ecx, dword [ebp - 0x1fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4250ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42533e
push edx
push ecx
call fcn.004274df
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 0x425134
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42512a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425343
push edx
push ecx
call fcn.004274df
add esp, 8
mov byte [ebp - 4], 3
xor eax, eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov dword [ebp - 0x1b0], 5
test cl, 2
jne 0x425192
mov eax, dword [ebp - 0x174]
mov edx, dword [eax]
test edx, edx
je 0x425192
cmp edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x184]
cmovb edx, dword [ebp - 0x15c]
mov ecx, dword [eax]
sub edx, ecx
sar edx, 1
push edx
jmp 0x4251bc
test cl, 4
jne 0x4251c8
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
test edx, edx
je 0x4251c8
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x168]
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.0040b6e0
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 0x42522a
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425220
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425348
push edx
push ecx
call fcn.004274df
add esp, 8
cmp dword [edi + 0x18], 0
je 0x425315
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00416160
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
call fcn.00415b30
mov edx, dword [ebp - 0x1e8]
cmp edx, 8
jb 0x425297
mov ecx, dword [ebp - 0x1fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42528d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42534d
push edx
push ecx
call fcn.004274df
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 0x4252cd
call fcn.00414170
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x4252df
call fcn.00414170
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x425315
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42530b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425352
push edx
push ecx
call fcn.004274df
add esp, 8
lea ecx, [ebp - 0x1ac]
call fcn.004160a0
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.00426e91
mov esp, ebp
pop ebp
ret 0x14
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
int3