Function at 0x10001c80
Capabilities:
Contain obfuscated stackstrings
Get disk information
Get process image filename

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 0x10013c27
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4d0
mov eax, dword [0x1001b00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4dc], edx
mov esi, ecx
mov dword [ebp - 0x4cc], esi
mov eax, dword [0x1001c210]
mov ecx, dword [0x1001c214]
cmp eax, ecx
je 0x10001cf5
nop
cmp dword [eax], esi
je 0x10001ced
add eax, 4
cmp eax, ecx
jne 0x10001ce0
jmp 0x10001cf5
cmp eax, ecx
jne 0x100025e4
mov eax, dword [0x1001c224]
mov ecx, dword [0x1001c228]
cmp eax, ecx
je 0x10001d19
cmp dword [eax], esi
je 0x10001d11
add eax, 4
cmp eax, ecx
jne 0x10001d04
jmp 0x10001d19
cmp eax, ecx
jne 0x100025e4
push 0x104
lea eax, [ebp - 0x120]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
test eax, eax
je 0x10001d73
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x458], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001d60
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
jmp 0x10001def
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push 0x104
push eax
push 0
push dword [ebp - 0x4dc]
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
test eax, eax
je 0x10001de8
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001dd5
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
jmp 0x10001def
push 0
push 0x10015770
lea ecx, [ebp - 0x468]
call fcn.10002dc0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x458], 0
je 0x10002549
cmp dword [ebp - 0x454], 0x10
lea eax, [ebp - 0x468]
mov dword [ebp - 0x450], 0
cmovae eax, dword [ebp - 0x468]
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
mov byte [ebp - 4], 1
mov byte [ebp - 0x228], 0
test eax, eax
je 0x10001f93
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001e65
sub ecx, edx
je 0x10001f93
lea eax, [ebp - 0x228]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x10001f93
mov ax, word [0x10015774]
lea edi, [ebp - 0x228]
mov word [ebp - 0x4d0], ax
mov al, byte [0x10015776]
mov byte [ebp - 0x4ce], al
mov al, byte [ebp - 0x228]
mov dword [ebp - 0x4d4], 0
nop dword [eax]
mov byte [ebp - 0x4d0], al
lea eax, [ebp - 0x330]
push 0x104
push eax
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x10001f72
lea esi, [ebp - 0x330]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001ef0
sub esi, ecx
cmp esi, 0x104
jae 0x10001f72
push esi
lea eax, [ebp - 0x330]
push eax
push dword [ebp - 0x4d8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [ebp - 0x4d4], ecx
test eax, eax
jne 0x10001f78
mov eax, dword [ebp - 0x4d8]
add eax, esi
push eax
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x438]
push str._s_s
push eax
call fcn.10002ef0
lea ecx, [ebp - 0x438]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001f56
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.10002dc0
mov ecx, dword [ebp - 0x4d4]
mov al, byte [edi]
inc edi
test al, al
jne 0x10001f78
test ecx, ecx
jne 0x10001f8d
mov al, byte [edi]
test al, al
jne 0x10001ec0
mov esi, dword [ebp - 0x4cc]
movups xmm0, xmmword [ebp - 0x450]
movups xmmword [ebp - 0x4c8], xmm0
movq xmm0, qword [ebp - 0x440]
movq qword [ebp - 0x4b8], xmm0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c8]
mov ecx, esp
push eax
call fcn.10002cf0
lea ecx, [ebp - 0x498]
call fcn.100019f0
lea eax, [ebp - 0x4b0]
mov byte [ebp - 4], 3
push eax
call fcn.10001ab0
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4b0]
mov ecx, esp
push eax
call fcn.10002cf0
lea ecx, [ebp - 0x480]
call fcn.100019f0
add esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x480]
cmp dword [ebp - 0x46c], 0x10
lea ecx, [ebp - 0x498]
cmovae eax, dword [ebp - 0x480]
cmp dword [ebp - 0x484], 0x10
cmovae ecx, dword [ebp - 0x498]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10002050
test dl, dl
je 0x1000204c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10002050
add ecx, 2
add eax, 2
test dl, dl
jne 0x10002030
xor eax, eax
jmp 0x10002055
sbb eax, eax
or eax, 1
test eax, eax
je 0x10002296
cmp dword [ebp - 0x454], 0x10
lea ecx, [ebp - 0x444]
mov edi, dword [sym.imp.VCRUNTIME140.dll_strstr]
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
mov dword [ebp - 0x444], 0x61636462
mov dword [ebp - 0x440], 0x78652e6d
mov word [ebp - 0x43c], 0x65
call edi
add esp, 8
test eax, eax
jne 0x10002296
cmp dword [ebp - 0x454], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x468]
mov dword [ebp - 0x444], 0x3673626f
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
mov dword [ebp - 0x440], 0x78652e34
mov word [ebp - 0x43c], 0x65
call edi
add esp, 8
test eax, eax
jne 0x10002296
cmp dword [ebp - 0x454], 0x10
lea ecx, [ebp - 0x444]
mov byte [ebp - 0x43c], al
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
mov dword [ebp - 0x444], 0x6e726b65
mov dword [ebp - 0x440], 0x6578652e
call edi
add esp, 8
test eax, eax
jne 0x10002296
cmp dword [ebp - 0x454], 0x10
lea ecx, [ebp - 0x444]
mov byte [ebp - 0x43c], al
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
mov dword [ebp - 0x444], 0x69756765
mov dword [ebp - 0x440], 0x6578652e
call edi
add esp, 8
test eax, eax
jne 0x10002296
mov ecx, 0x29
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10015810]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x444], al
and ecx, 0x800000ff
jns 0x100021a0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10002180
cmp dword [ebp - 0x454], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x468]
mov byte [ebp - 0x439], 0
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x10002296
mov ecx, 0xf1
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x1001581c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x444], al
and ecx, 0x800000ff
jns 0x10002200
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x100021e0
cmp dword [ebp - 0x454], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x468]
mov byte [ebp - 0x439], 0
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x10002296
mov ecx, 0x83
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10015828]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x444], al
and ecx, 0x800000ff
jns 0x10002260
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10002240
cmp dword [ebp - 0x454], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x468]
mov byte [ebp - 0x439], 0
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
call edi
add esp, 8
test eax, eax
je 0x10002402
mov eax, dword [0x1001c228]
cmp eax, dword [0x1001c22c]
je 0x100022ae
mov dword [eax], esi
add dword [0x1001c228], 4
jmp 0x100022c0
lea ecx, [ebp - 0x4cc]
push ecx
push eax
mov ecx, 0x1001c224
call fcn.10003190
mov edx, dword [ebp - 0x46c]
cmp edx, 0x10
jb 0x100022fa
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100022f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002539
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp - 0x49c]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x1000234f
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002345
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002539
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0xf
mov byte [ebp - 0x4b0], 0
cmp edx, 0x10
jb 0x100023a4
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000239a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002539
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
cmp edx, 0x10
jb 0x100025a8
mov ecx, dword [ebp - 0x4c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100023f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002539
push edx
push ecx
call fcn.10012b5f
add esp, 8
jmp 0x100025a8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x46c]
cmp edx, 0x10
jb 0x10002440
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002436
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002539
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x49c]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x10002499
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000248f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002539
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0xf
mov byte [ebp - 0x4b0], 0
cmp edx, 0x10
jb 0x100024ee
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100024e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002539
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
cmp edx, 0x10
jb 0x10002549
mov ecx, dword [ebp - 0x4c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000253f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000253f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov ecx, dword [ebp - 0x4dc]
call fcn.10001b90
test al, al
jne 0x1000257e
mov eax, dword [0x1001c214]
cmp eax, dword [0x1001c218]
je 0x10002570
mov dword [eax], esi
add dword [0x1001c214], 4
jmp 0x100025a8
lea ecx, [ebp - 0x4cc]
push ecx
mov ecx, 0x1001c210
jmp 0x100025a2
mov eax, dword [0x1001c228]
cmp eax, dword [0x1001c22c]
je 0x10002596
mov dword [eax], esi
add dword [0x1001c228], 4
jmp 0x100025a8
lea ecx, [ebp - 0x4cc]
push ecx
mov ecx, 0x1001c224
push eax
call fcn.10003190
mov edx, dword [ebp - 0x454]
cmp edx, 0x10
jb 0x100025e4
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100025da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100025da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10012b5f
add esp, 8
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.10012545
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret