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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43786d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x800a8
call fcn.00433b90
mov eax, dword [0x449080]
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 dword [ebp - 0x80078], ecx
mov esi, 0x4426f8
lea edi, [ebp - 0x80024]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, ebx
push 0x36
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ebp + ecx - 0x80024], dl
inc ecx
cmp ecx, 0xb
jl 0x410916
lea eax, [ebp - 0x80024]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x80068], esi
test esi, esi
je 0x410a46
mov ecx, dword [0x44270c]
mov dword [ebp - 0x80070], ecx
mov cl, byte [0x442710]
mov byte [ebp - 0x8006c], cl
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ebp + ecx - 0x80070], dl
inc ecx
cmp ecx, 5
jl 0x410963
lea eax, [ebp - 0x80070]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edi, [ebp - 0x80088]
mov esi, str.VZXKIT_V_K_BE
mov dword [ebp - 0x80074], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [0x4426f7], bl
je 0x4109be
push 0x36
mov ecx, ebx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x80088], dl
inc ecx
cmp ecx, 0xc
jl 0x4109a8
lea eax, [ebp - 0x80088]
push eax
push dword [ebp - 0x80068]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x80068], esi
test esi, esi
je 0x410a46
mov ecx, dword [ebp - 0x80074]
test ecx, ecx
je 0x410a46
xor eax, eax
lea edi, [ebp - 0x80054]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x80044], ebx
mov dword [ebp - 0x80040], 0xf
mov byte [ebp - 0x80054], bl
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x80078]
lea eax, [ebp - 0x80018]
push ebx
push 0x80000
push eax
push edi
call ecx
mov ecx, eax
test ecx, ecx
jg 0x410a68
push edi
call esi
mov eax, dword [ebp - 0x80040]
cmp eax, 0xf
jbe 0x410a46
inc eax
push eax
push dword [ebp - 0x80054]
call fcn.0040274d
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.004026b1
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.0041cdf9
leave
ret
xor eax, eax
lea edi, [ebp - 0x8003c]
stosd dword es:[edi], eax
push ecx
lea ecx, [ebp - 0x8003c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80018]
push eax
mov dword [ebp - 0x8002c], ebx
mov dword [ebp - 0x80028], ebx
call fcn.004026d7
lea eax, [ebp - 0x8003c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x80054]
call fcn.004042eb
mov eax, dword [ebp - 0x80028]
cmp eax, 0xf
jbe 0x410ac3
inc eax
push eax
push dword [ebp - 0x8003c]
call fcn.0040274d
pop ecx
pop ecx
push ebx
push 0x4426dc
lea ecx, [ebp - 0x80054]
call fcn.0040408b
cmp eax, 0xffffffff
je 0x410c58
mov byte [ebp - 4], 4
lea edi, [ebp - 0x80060]
xor eax, eax
lea edx, [ebp - 0x80054]
stosd dword es:[edi], eax
push ecx
lea ecx, [ebp - 0x80060]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00407060
pop ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80060]
cmp eax, dword [ebp - 0x8005c]
je 0x410c3d
xor eax, eax
lea edi, [ebp - 0x80024]
stosd dword es:[edi], eax
lea edx, [ebp - 0x80054]
push ecx
lea ecx, [ebp - 0x80024]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00407060
pop ecx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x80024]
cmp eax, dword [ebp - 0x80020]
je 0x410c32
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040419c
push 0xb
pop edx
lea ecx, [ebp - 0x8003c]
call fcn.00407893
add esp, 0x18
push 0x441144
lea ecx, [ebp - 0x800a0]
mov byte [ebp - 4], 7
call fcn.00404163
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x800b8]
mov edx, dword [ebp - 0x80024]
push 0x4426dc
call fcn.004043cb
pop ecx
lea ecx, [ebp - 0x800a0]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x80054]
call fcn.00406ef0
pop ecx
lea ecx, [ebp - 0x800b8]
call fcn.004026b1
lea ecx, [ebp - 0x800a0]
call fcn.004026b1
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push ebx
cmova eax, dword [ebp + 8]
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x410c27
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x80028], 0xf
lea eax, [ebp - 0x80064]
push ebx
push eax
push dword [ebp - 0x8002c]
lea ecx, [ebp - 0x8003c]
cmova ecx, dword [ebp - 0x8003c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x8003c]
call fcn.004026b1
lea ecx, [ebp - 0x80024]
call fcn.0040425d
lea ecx, [ebp - 0x80060]
call fcn.0040425d
jmp 0x410c58
mov ecx, dword [ebp - 0x80074]
mov dword [ebp - 4], 1
jmp 0x410a0d