Function at 0x1003c08c
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov eax, 0x10061a3a
call fcn.10060010
sub esp, 0x5c
cmp byte [ebp + 8], 0
mov eax, ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
je 0x1003c157
cmp byte [ebp + 0x24], 0
je 0x1003c0c1
mov eax, dword [ebp + 0x2c]
inc dword [eax]
jmp 0x1003c3d4
mov edi, dword [ebp + 0x34]
mov ebx, dword [ebp + 0x48]
mov dword [edi], 0xc1f4b9ef
mov ecx, dword [eax]
mov eax, dword [eax]
sub ecx, eax
mov eax, dword [edx]
sub ecx, eax
jne 0x1003c0e2
cmp dword [ebx], ecx
jne 0x1003c0e2
xor esi, esi
inc esi
jmp 0x1003c0e7
xor esi, esi
inc esi
mov ecx, esi
mov eax, dword [ebx]
imul eax, ecx
xor ecx, ecx
push 0xfffffffffffffffb
cmp eax, 0x7e55
mov eax, dword [edx]
setl cl
xor edx, edx
cmp ecx, eax
pop eax
sete dl
sub edx, 0xc28d
neg edx
sbb edx, edx
inc edx
cmp eax, edx
mov eax, dword [ebp - 0x14]
sbb ecx, ecx
xor edx, edx
inc ecx
mov eax, dword [eax]
cmp ecx, eax
mov eax, dword [edi]
setle dl
add eax, edx
je 0x1003c126
mov eax, dword [edi]
mov eax, dword [edi]
mov edx, dword [ebp + 0x40]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x1c]
mov dword [edx], 0
mov ecx, dword [ecx]
mov eax, dword [edi]
imul ecx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, ecx
je 0x1003c14b
cmp dword [edx], 0
jne 0x1003c14d
xor esi, esi
mov eax, dword [ebp + 0x20]
mov dword [eax], esi
jmp 0x1003c3d4
mov dword [ebp + 8], 0x5e3c
xor esi, esi
cmp dword [ebp + 8], 0x61c8
jle 0x1003c1ad
xor edi, edi
inc esi
xor ebx, ebx
mov eax, ebx
lea ecx, [ebp - 0x34]
and eax, edi
cdq
push edx
push eax
call fcn.100025b7
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c187
mov eax, dword [eax]
push eax
call fcn.1004b05d
pop ecx
push 0
push esi
lea ecx, [ebp - 0x34]
call fcn.10007cc3
inc ebx
cmp ebx, 0x3f12
jl 0x1003c16e
inc edi
cmp edi, 0x3ac7
jl 0x1003c16c
jmp 0x1003c1ae
inc esi
cmp dword [ebp + 8], 0x5e05
jge 0x1003c1c2
push str.hepv_xrye_tfmbyywn_pvyxdzdo_bwnqvipys_trfijq_xscsfpdw_yvr_qzwlv_pvbx
call fcn.1004b05d
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x4c], 0
je 0x1003c34c
mov dword [ebp - 0x1c], 0x285c
cmp dword [ebp - 0x1c], 0x2a2f
jle 0x1003c24e
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 0x14], 0x314a
mov dword [ebp + 8], eax
xor edi, edi
and eax, edi
lea ecx, [ebp - 0x4c]
or eax, ebx
cdq
push edx
push eax
call fcn.100025b7
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c20e
mov eax, dword [eax]
push eax
call fcn.1004b05d
pop ecx
push 0
push esi
lea ecx, [ebp - 0x4c]
call fcn.10007cc3
mov eax, dword [ebp + 8]
inc edi
cmp edi, 0x76d3
jl 0x1003c1f5
mov edi, dword [ebp - 0x18]
add eax, edi
dec dword [ebp - 0x14]
mov dword [ebp + 8], eax
jne 0x1003c1f3
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x2cd8
jl 0x1003c1e7
inc ebx
cmp ebx, 0x5860
jl 0x1003c1e2
cmp dword [ebp - 0x1c], 0x254c
jge 0x1003c262
push str.nvfzuojq_vxjkhzi_rpnmvja_jwy_tml_uhtxsilk_pwwev_ikhys_haltgj_dkr_djbjcrvs_dels
call fcn.1004b05d
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0x26e3
cmp dword [ebp - 0x18], 0x277d
jle 0x1003c2eb
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp + 8], eax
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cdq
idiv ecx
mov eax, ebx
lea ecx, [ebp - 0x64]
sub eax, edx
xor eax, edi
cdq
push edx
push eax
call fcn.100025b7
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c2aa
mov eax, dword [eax]
push eax
call fcn.1004b05d
pop ecx
push 0
push esi
lea ecx, [ebp - 0x64]
call fcn.10007cc3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x34b0
jl 0x1003c28c
inc eax
mov dword [ebp + 8], eax
cmp eax, 0x334f
jl 0x1003c287
inc ebx
cmp ebx, 0x4f4c
jl 0x1003c282
inc edi
cmp edi, 0x271b
jl 0x1003c280
cmp dword [ebp - 0x18], 0x2541
jge 0x1003c2ff
push str.vjgjj_qxvgs_xbe_fpvx_zirepkrl_pqy_orphpksin_fpuyhm_qxanl_joaqsouf_nmyzctof_dgnybfcn_sjsdhqup
call fcn.1004b05d
pop ecx
mov esi, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x50]
mov edi, dword [ebp + 0x28]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [edi]
mov eax, dword [ecx]
mov eax, dword [ebp + 0x44]
mov eax, dword [eax]
mov eax, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [edx]
mov eax, dword [ecx]
mov eax, dword [esi]
mov eax, dword [edi]
mov ecx, dword [ecx]
mov eax, dword [edx]
xor edx, edx
cmp ecx, eax
setle dl
mov dword [edi], edx
jmp 0x1003c3d4
mov dword [ebp - 0x1c], 0x6bb
cmp dword [ebp - 0x1c], 0x7dc
jle 0x1003c3a4
xor esi, esi
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp + 8], eax
add eax, ebx
lea ecx, [edi + esi]
xor eax, ecx
mov ecx, 0x1007bf98
cdq
push edx
push eax
call fcn.10007154
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, 0x6508
jl 0x1003c367
inc ebx
cmp ebx, 0x4815
jl 0x1003c362
inc edi
cmp edi, 0xbeb
jl 0x1003c360
inc esi
cmp esi, 0x2b40
jl 0x1003c35e
mov dword [ebp - 4], 6
cmp dword [ebp - 0x1c], 0x658
jge 0x1003c3c3
mov edx, str.ezz_wxyh_qhuhumie_yvubcj_hbllj_janajqxr_tfsqbes_bkzwnsczg_kdlkt_syoogw_kctaoc
mov ecx, 0x1007bf98
call fcn.1000a079
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x358bd4df
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret