Function at 0x1000f9c0
Capabilities:
Contain obfuscated stackstrings
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100297c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x168], eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x128]
lea edi, [ebp - 0x123]
mov dword [ebp - 0x138], 1
movq qword [ebp - 0x134], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0x65786946
mov byte [ebp - 0x124], 0x64
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
sub edi, eax
je 0x1000fad6
cmp edi, 0x7fffffff
ja 0x100101a6
push edi
lea ecx, [ebp - 0x154]
call fcn.10001e00
mov esi, dword [ebp - 0x154]
lea eax, [ebp - 0x128]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x160]
lea edi, [ebp - 0x157]
mov dword [ebp - 0x160], 0x6f6d6552
mov dword [ebp - 0x15c], 0x6c626176
mov byte [ebp - 0x158], 0x65
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
sub edi, eax
je 0x1000fb5e
cmp edi, 0x7fffffff
ja 0x100101a6
push edi
lea ecx, [ebp - 0x148]
call fcn.10001e00
mov esi, dword [ebp - 0x148]
lea eax, [ebp - 0x160]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x154]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x164], ecx
sub ecx, eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x134], 0
imul ecx
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x130], 0
sar edx, 1
push ecx
mov eax, edx
mov dword [ebp - 0x12c], 0
shr eax, 0x1f
lea ecx, [ebp - 0x13c]
push ecx
add eax, edx
lea ecx, [ebp - 0x134]
push eax
call fcn.10008f30
push fcn.10001f10
push 2
push 0xc
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 4
push eax
call fcn.10026fe9
lea eax, [ebp - 0x120]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x1001016f
push 0x18
call dword [sym.imp.mfc140u.dll_operator_1]
mov edi, eax
mov dword [ebp - 0x164], eax
add esp, 4
mov dword [ebp - 0x16c], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x1000fc47
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [edi], xmm0
push 0x40
movq qword [edi + 0x10], xmm0
movups xmmword [edi], xmm0
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10009bd0
jmp 0x1000fc4f
xor edi, edi
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x128], edi
mov byte [ebp - 4], 6
lea esi, [ebp - 0x120]
cmp byte [ebp - 0x120], 0
mov dword [ebp - 0x13c], esi
je 0x10010120
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1000fe6c
push dword [ebp - 0x134]
lea eax, [ebp - 0x1bc]
push eax
call fcn.10025a00
mov edi, eax
mov ecx, esi
mov byte [ebp - 4], 7
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000fcc0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x154]
call fcn.10009bd0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x140]
mov eax, edx
mov ecx, dword [ebp - 0x144]
sub eax, ecx
push 3
push 0x1002dd54
cmp eax, 3
jb 0x1000fd26
cmp edx, 0xf
lea esi, [ebp - 0x154]
lea eax, [ecx + 3]
cmova esi, dword [ebp - 0x154]
add esi, ecx
mov dword [ebp - 0x144], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x154]
jmp 0x1000fd40
mov byte [ebp - 0x188], 0
lea ecx, [ebp - 0x154]
push dword [ebp - 0x188]
push 3
call fcn.10009a40
movups xmm0, xmmword [eax]
mov esi, dword [ebp - 0x138]
or esi, 4
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x138], esi
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x190], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x127]
lea ecx, [ebp - 0x184]
call fcn.10009240
or esi, 2
mov dword [ebp - 0x138], esi
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x168]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1000fdd8
movups xmm0, xmmword [ebp - 0x184]
mov ecx, 0xf
mov byte [ebp - 0x184], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x174]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x1000fded
lea ecx, [ebp - 0x184]
push ecx
push eax
mov ecx, esi
call fcn.10011a90
mov ecx, dword [ebp - 0x170]
mov byte [ebp - 4], 9
cmp ecx, 0xf
jbe 0x1000fe25
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000fe1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100101a0
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18c]
cmp ecx, 0xf
jbe 0x1000fe63
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000fe59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100101a0
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov byte [ebp - 4], 7
jmp 0x1001005b
cmp eax, 2
jne 0x100100f4
mov eax, dword [ebp - 0x134]
add eax, 0xc
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.10025a00
mov edi, eax
mov ecx, esi
mov byte [ebp - 4], 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000feb4
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x154]
call fcn.10009bd0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x140]
mov eax, edx
mov ecx, dword [ebp - 0x144]
sub eax, ecx
push 3
push 0x1002dd54
cmp eax, 3
jb 0x1000ff1a
cmp edx, 0xf
lea esi, [ebp - 0x154]
lea eax, [ecx + 3]
cmova esi, dword [ebp - 0x154]
add esi, ecx
mov dword [ebp - 0x144], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x154]
jmp 0x1000ff34
mov byte [ebp - 0x16c], 0
lea ecx, [ebp - 0x154]
push dword [ebp - 0x16c]
push 3
call fcn.10009a40
movups xmm0, xmmword [eax]
mov esi, dword [ebp - 0x138]
or esi, 8
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x138], esi
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x190], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 0xd
push eax
push dword [ebp - 0x127]
lea ecx, [ebp - 0x184]
call fcn.10009240
or esi, 0x10
mov dword [ebp - 0x138], esi
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x168]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1000ffcc
movups xmm0, xmmword [ebp - 0x184]
mov ecx, 0xf
mov byte [ebp - 0x184], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x174]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x1000ffe1
lea ecx, [ebp - 0x184]
push ecx
push eax
mov ecx, esi
call fcn.10011a90
mov ecx, dword [ebp - 0x170]
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x10010019
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001000f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100101a0
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18c]
cmp ecx, 0xf
jbe 0x10010057
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001004d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100101a0
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x10010095
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001008b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100101a0
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1a8]
mov byte [ebp - 0x154], 0
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
cmp ecx, 0xf
jbe 0x100100ee
mov edx, dword [ebp - 0x1bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100100e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100101a0
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov esi, dword [ebp - 0x13c]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010100
sub ecx, edx
inc esi
add esi, ecx
mov dword [ebp - 0x13c], esi
cmp byte [esi], al
jne 0x1000fc72
mov edi, dword [ebp - 0x164]
test edi, edi
je 0x1001016f
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x10010153
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10010149
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100101a0
mov eax, edx
push ecx
push eax
call fcn.10026cc1
add esp, 8
push 0x18
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.10026cc1
add esp, 8
lea ecx, [ebp - 0x134]
call fcn.10007d80
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10026c90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.10001df0
int3