Function at 0x10001850
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 0x1003b5a7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c0
mov eax, dword [0x1004f054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x4cc], edi
mov esi, ecx
mov dword [ebp - 0x4c0], esi
mov eax, dword [0x10051b50]
mov ecx, dword [0x10051b54]
cmp eax, ecx
je 0x100018c5
cmp dword [eax], esi
je 0x100018bd
add eax, 4
cmp eax, ecx
jne 0x100018b0
jmp 0x100018c5
cmp eax, ecx
jne 0x100021d9
mov eax, dword [0x10051b64]
mov ecx, dword [0x10051b68]
cmp eax, ecx
je 0x100018e9
cmp dword [eax], esi
je 0x100018e1
add eax, 4
cmp eax, ecx
jne 0x100018d4
jmp 0x100018e9
cmp eax, ecx
jne 0x100021d9
push 0x104
lea eax, [ebp - 0x120]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
test eax, eax
je 0x10001943
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x44c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001930
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
jmp 0x100019ba
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.10019c10
add esp, 0xc
lea eax, [ebp - 0x120]
push 0x104
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
test eax, eax
je 0x100019b3
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100019a0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
jmp 0x100019ba
push 0
push 0x10048cf8
lea ecx, [ebp - 0x45c]
call fcn.10002a00
mov dword [ebp - 4], 0
cmp dword [ebp - 0x44c], 0
je 0x10002148
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x474], 0
cmovae eax, dword [ebp - 0x45c]
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
mov byte [ebp - 4], 1
mov byte [ebp - 0x330], 0
test eax, eax
je 0x10001b68
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001a30
sub ecx, edx
je 0x10001b68
lea eax, [ebp - 0x330]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x10001b68
mov ax, word [0x10048cfc]
lea edi, [ebp - 0x330]
mov word [ebp - 0x4c4], ax
mov al, byte [0x10048cfe]
mov byte [ebp - 0x4c2], al
mov al, byte [ebp - 0x330]
mov dword [ebp - 0x4c8], 0
nop word [eax + eax]
mov byte [ebp - 0x4c4], al
lea eax, [ebp - 0x438]
push 0x104
push eax
lea eax, [ebp - 0x4c4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x10001b41
lea esi, [ebp - 0x438]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001ac0
sub esi, ecx
cmp esi, 0x104
jae 0x10001b41
push esi
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x4d0]
call fcn.1001f160
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [ebp - 0x4c8], ecx
test eax, eax
jne 0x10001b47
mov eax, dword [ebp - 0x4d0]
add eax, esi
push eax
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x228]
push str._s_s
push eax
call fcn.10002b30
lea ecx, [ebp - 0x228]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001b25
sub ecx, edx
lea eax, [ebp - 0x228]
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.10002a00
mov ecx, dword [ebp - 0x4c8]
mov al, byte [edi]
inc edi
test al, al
jne 0x10001b47
test ecx, ecx
jne 0x10001b5c
mov al, byte [edi]
test al, al
jne 0x10001a90
mov esi, dword [ebp - 0x4c0]
mov edi, dword [ebp - 0x4cc]
movups xmm0, xmmword [ebp - 0x474]
movups xmmword [ebp - 0x4bc], xmm0
movq xmm0, qword [ebp - 0x464]
movq qword [ebp - 0x4ac], xmm0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4bc]
mov ecx, esp
push eax
call fcn.10002930
lea ecx, [ebp - 0x4a4]
call fcn.100016a0
add esp, 0x18
push 0x104
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x464], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001bf0
sub ecx, edx
lea eax, [ebp - 0x228]
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.10002a00
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x474]
mov ecx, esp
push eax
call fcn.10002930
lea ecx, [ebp - 0x48c]
call fcn.100016a0
add esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48c]
cmp dword [ebp - 0x478], 0x10
lea ecx, [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x48c]
cmp dword [ebp - 0x490], 0x10
cmovae ecx, dword [ebp - 0x4a4]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10001c80
test dl, dl
je 0x10001c7c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10001c80
add ecx, 2
add eax, 2
test dl, dl
jne 0x10001c60
xor eax, eax
jmp 0x10001c85
sbb eax, eax
or eax, 1
test eax, eax
je 0x10001ec9
cmp dword [ebp - 0x448], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x444], 0x61636462
cmovae eax, dword [ebp - 0x45c]
push ecx
push eax
mov dword [ebp - 0x440], 0x78652e6d
mov word [ebp - 0x43c], 0x65
call fcn.10018fe0
add esp, 8
test eax, eax
jne 0x10001ec9
cmp dword [ebp - 0x448], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x444], 0x3673626f
cmovae eax, dword [ebp - 0x45c]
push ecx
push eax
mov dword [ebp - 0x440], 0x78652e34
mov word [ebp - 0x43c], 0x65
call fcn.10018fe0
add esp, 8
test eax, eax
jne 0x10001ec9
cmp dword [ebp - 0x448], 0x10
lea ecx, [ebp - 0x444]
mov byte [ebp - 0x43c], al
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
push ecx
push eax
mov dword [ebp - 0x444], 0x6e726b65
mov dword [ebp - 0x440], 0x6578652e
call fcn.10018fe0
add esp, 8
test eax, eax
jne 0x10001ec9
cmp dword [ebp - 0x448], 0x10
lea ecx, [ebp - 0x444]
mov byte [ebp - 0x43c], al
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
push ecx
push eax
mov dword [ebp - 0x444], 0x69756765
mov dword [ebp - 0x440], 0x6578652e
call fcn.10018fe0
add esp, 8
test eax, eax
jne 0x10001ec9
mov ecx, 0x29
xor edx, edx
mov al, byte [edx + 0x10048d98]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x444], al
and ecx, 0x800000ff
jns 0x10001dd2
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10001db2
cmp dword [ebp - 0x448], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x45c]
mov byte [ebp - 0x439], 0
cmovae eax, dword [ebp - 0x45c]
push ecx
push eax
call fcn.10018fe0
add esp, 8
test eax, eax
jne 0x10001ec9
mov ecx, 0xf1
xor edx, edx
mov al, byte [edx + 0x10048da4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x444], al
and ecx, 0x800000ff
jns 0x10001e32
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10001e12
cmp dword [ebp - 0x448], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x45c]
mov byte [ebp - 0x439], 0
cmovae eax, dword [ebp - 0x45c]
push ecx
push eax
call fcn.10018fe0
add esp, 8
test eax, eax
jne 0x10001ec9
mov ecx, 0x83
xor edx, edx
nop
mov al, byte [edx + 0x10048db0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x444], al
and ecx, 0x800000ff
jns 0x10001e90
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10001e70
cmp dword [ebp - 0x448], 0x10
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x45c]
mov byte [ebp - 0x439], 0
cmovae eax, dword [ebp - 0x45c]
push ecx
push eax
call fcn.10018fe0
add esp, 8
test eax, eax
je 0x1000201a
mov eax, dword [0x10051b68]
cmp eax, dword [0x10051b6c]
je 0x10001ee1
mov dword [eax], esi
add dword [0x10051b68], 4
jmp 0x10001ef3
lea ecx, [ebp - 0x4c0]
push ecx
push eax
mov ecx, 0x10051b64
call fcn.10002dd0
mov edx, dword [ebp - 0x478]
cmp edx, 0x10
jb 0x10001f2d
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001f23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021f7
push edx
push ecx
call fcn.1001798d
add esp, 8
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
cmp edx, 0x10
jb 0x10001f82
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001f78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021f7
push edx
push ecx
call fcn.1001798d
add esp, 8
mov edx, dword [ebp - 0x490]
cmp edx, 0x10
jb 0x10001fbc
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001fb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021f7
push edx
push ecx
call fcn.1001798d
add esp, 8
mov edx, dword [ebp - 0x4a8]
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
cmp edx, 0x10
jb 0x100021a3
mov ecx, dword [ebp - 0x4bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000200b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021f7
push edx
push ecx
call fcn.1001798d
add esp, 8
jmp 0x100021a3
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x478]
cmp edx, 0x10
jb 0x10002058
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000204e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021f7
push edx
push ecx
call fcn.1001798d
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
cmp edx, 0x10
jb 0x100020b1
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100020a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021f7
push edx
push ecx
call fcn.1001798d
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x490]
cmp edx, 0x10
jb 0x100020ef
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100020e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021f7
push edx
push ecx
call fcn.1001798d
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4a8]
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
cmp edx, 0x10
jb 0x10002148
mov ecx, dword [ebp - 0x4bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000213e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021f7
push edx
push ecx
call fcn.1001798d
add esp, 8
mov ecx, edi
call fcn.10001760
test al, al
jne 0x10002179
mov eax, dword [0x10051b54]
cmp eax, dword [0x10051b58]
je 0x1000216b
mov dword [eax], esi
add dword [0x10051b54], 4
jmp 0x100021a3
lea ecx, [ebp - 0x4c0]
push ecx
mov ecx, 0x10051b50
jmp 0x1000219d
mov eax, dword [0x10051b68]
cmp eax, dword [0x10051b6c]
je 0x10002191
mov dword [eax], esi
add dword [0x10051b68], 4
jmp 0x100021a3
lea ecx, [ebp - 0x4c0]
push ecx
mov ecx, 0x10051b64
push eax
call fcn.10002dd0
mov edx, dword [ebp - 0x448]
cmp edx, 0x10
jb 0x100021d9
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100021cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100021fc
push edx
push ecx
call fcn.1001798d
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.10017373
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1001f428
call fcn.1001f428
int3