Function at 0x1006afb1
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
jmp 0x1006afd6
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x1006b38e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1006b0e0
mov dword [ebp - 4], 0xa87013dc
mov dword [ebp - 0x28], 0x94d03572
mov dword [ebp - 0x34], 0xf88039d6
mov dword [ebp - 0x78], 0x2184e5a9
mov eax, dword [ebp - 4]
sub eax, 5
cmp eax, dword [ebp - 4]
jl 0x1006b026
mov dword [ebp - 0x38], 1
jmp 0x1006b02a
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
neg eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x1006b042
mov dword [ebp - 0x48], 1
jmp 0x1006b046
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x48], eax
jne 0x1006b057
mov dword [ebp - 0x40], 1
jmp 0x1006b05b
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x28], eax
jg 0x1006b081
mov dword [ebp - 0x50], 1
jmp 0x1006b085
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
imul ecx, eax
mov dword [ebp - 0x78], ecx
mov byte [ebp - 0xc], 0
movzx eax, byte [ebp - 0xc]
test eax, eax
je 0x1006b0af
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xf90b
push 0x9cbf
call fcn.100290d8
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1006b252
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x18], 0
jmp 0x1006b0f7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb
jg 0x1006b11e
cmp dword [ebp - 0x18], 0
je 0x1006b105
jmp 0x1006b11e
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x1006b11c
push 0x7cb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x1006b0f0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 8], 0xe91a049f
mov dword [ebp - 8], 0xffffffed
jmp 0x1006b142
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffe2
jl 0x1006b1f8
mov dword [ebp - 0x24], 0x22124f84
mov dword [ebp - 0x24], 0xe
jmp 0x1006b163
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xf
jl 0x1006b1f3
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x1006b184
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffe6
jge 0x1006b1ee
mov dword [ebp - 0x9c], 0x65653d42
mov dword [ebp - 0x98], 0x65653d42
mov dword [ebp - 0x94], 0x65653d42
mov dword [ebp - 0x90], 0x65653d42
mov dword [ebp - 0x1c], 0xbfc88eb9
mov dword [ebp - 0x1c], 3
jmp 0x1006b1c9
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1006b1ec
mov byte [ebp - 0xb], 0
movzx eax, byte [ebp - 0xb]
test eax, eax
je 0x1006b1ea
push 0
push 0xd0f
push 0
call dword [sym.imp.GDI32.dll_GetBitmapBits]
jmp 0x1006b1c2
jmp 0x1006b17d
jmp 0x1006b15c
jmp 0x1006b13b
mov dword [ebp - 8], 0
jmp 0x1006b208
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffec
je 0x1006b22d
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x1006b22b
push 0
push 0x2281
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1006b201
mov eax, dword [ebp - 0x70]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xf90b
push 0x9cbf
call fcn.100290d8
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [ebp - 0x10], 0x3b26bdde
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x30], 0xcf33f23e
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x64], 0xe53494ab
mov dword [ebp - 0x2c], 0xfd8c6581
mov dword [ebp - 0x10], 9
jmp 0x1006b28c
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x1006b2ef
mov dword [ebp - 0x58], 0xd9b4e94f
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x6c], 0x9b8f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jg 0x1006b2ca
mov dword [ebp - 0x3c], 1
jmp 0x1006b2ce
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
lea eax, [eax + ecx - 0xfffc]
mov dword [ebp - 0x68], eax
jmp 0x1006b285
cmp dword [ebp - 0x14], 0
jne 0x1006b301
cmp dword [ebp - 0x30], 0
jne 0x1006b301
and dword [ebp - 0x44], 0
jmp 0x1006b308
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x10]
neg eax
mov ecx, dword [ebp - 0x44]
neg ecx
cmp eax, ecx
jg 0x1006b31f
mov dword [ebp - 0x4c], 1
jmp 0x1006b323
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x4c], eax
jle 0x1006b334
mov dword [ebp - 0x54], 1
jmp 0x1006b338
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x5de082ad
jg 0x1006b34d
cmp dword [ebp - 0x2c], 0
jne 0x1006b34d
and dword [ebp - 0x5c], 0
jmp 0x1006b354
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x10], 0xffff
je 0x1006b366
mov dword [ebp - 0x60], 1
jmp 0x1006b36a
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
lea eax, [eax + ecx - 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x1006b389
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x1006b38e
jmp 0x1006afbc
mov esp, ebp
pop ebp
ret