Function at 0x1001b9d6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100651ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1001bc79
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x1001ba62
push 0x26aa
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x1001bc74
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001da4
cmp dword [eax], 0
jne 0x1001bb8d
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001da4
mov esi, eax
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001da4
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x1001bb18
mov dword [ebp - 0x38], 1
jmp 0x1001bb1c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1001bb39
mov dword [ebp - 0x5c], 1
jmp 0x1001bb3d
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
jge 0x1001bb4c
mov dword [ebp - 0x44], 1
jmp 0x1001bb50
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xc5ec62bb
ja 0x1001bb62
mov dword [ebp - 0x2c], 1
jmp 0x1001bb66
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001da4
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jge 0x1001bb87
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1001bb8d
and dword [ebp - 0x54], 0
jmp 0x1001bb94
mov dword [ebp - 0x54], 1
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001da4
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
je 0x1001bbae
mov dword [ebp - 0x30], 1
jmp 0x1001bbb2
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
cmp dword [ebp - 0x30], 0
je 0x1001bbd1
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
je 0x1001bbd1
mov dword [ebp - 0x3c], 1
jmp 0x1001bbd5
and dword [ebp - 0x3c], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001da4
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
je 0x1001bbef
mov dword [ebp - 0x40], 1
jmp 0x1001bbf3
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0xfffffffb
jb 0x1001bc02
mov dword [ebp - 0x48], 1
jmp 0x1001bc06
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x1001bc28
mov eax, 0x5fcb4448
test eax, eax
je 0x1001bc28
mov dword [ebp - 0x34], 1
jmp 0x1001bc2c
and dword [ebp - 0x34], 0
push 2
mov ecx, dword [ebp - 0x58]
call fcn.10001da4
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
cmp dword [ebp - 0x34], 0
jne 0x1001bc4f
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
jne 0x1001bc4f
and dword [ebp - 0x7c], 0
jmp 0x1001bc56
mov dword [ebp - 0x7c], 1
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001da4
push 2
mov ecx, dword [ebp - 0x58]
call fcn.10001da4
mov ecx, dword [ebp - 0x84]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x1001be03
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x60], 0x49d5
mov dword [ebp - 0xbc], str.mjnk_zlft_hkff_qbuvpv_iolujt_zigvzmzm
cmp dword [ebp - 0x60], 0x4c11
jle 0x1001bd92
and dword [ebp - 0x24], 0
jmp 0x1001bcd1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1fac
jge 0x1001bd92
and dword [ebp - 0x28], 0
jmp 0x1001bceb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1a0f
jge 0x1001bd8d
and dword [ebp - 0x1c], 0
jmp 0x1001bd05
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x882
jge 0x1001bd88
and dword [ebp - 0x20], 0
jmp 0x1001bd1b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1c0a
jge 0x1001bd83
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x28]
mov eax, edx
cdq
idiv dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xe4]
call fcn.10001a6a
pop ecx
pop ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.10001c08
push eax
call fcn.1004c39e
pop ecx
lea ecx, [ebp - 0xe4]
call fcn.10001bea
jmp 0x1001bd14
jmp 0x1001bcfe
jmp 0x1001bce4
jmp 0x1001bcca
push 0x2ee5
push dword [ebp - 0x94]
push 1
push dword [ebp - 0x9c]
push dword [ebp - 0xa4]
push dword [ebp - 0xac]
push 0x1e5f
push dword [ebp - 0xb4]
call fcn.100177fa
add esp, 0x20
and dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0x46d2
jge 0x1001bddd
push dword [ebp - 0xbc]
call fcn.1004c39e
pop ecx
jmp 0x1001bdf9
or dword [ebp - 4], 0xffffffff
jmp 0x1001be03
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret