Function at 0x1000d424
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000d522
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x1000d4dc
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x1000d4ba
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jge 0x1000d4da
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0xa0]
call fcn.10001d70
mov dword [eax], 1
jmp 0x1000d4af
jmp 0x1000d51d
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 9
jmp 0x1000d504
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0xe
jge 0x1000d51d
mov dword [ebp - 0x70], 0x573c098b
cmp dword [ebp - 0x70], 0
je 0x1000d51b
jmp 0x1000d51d
jmp 0x1000d4f9
jmp 0x1000d7cc
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x1000d584
push 0x46a
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x1000d7cc
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x34], 0x270b
mov dword [ebp - 0xb8], str.ftb_uapfzdc_ebp_mpwf_bbdoroob_khk_owy_gbxty_cwbtw
cmp dword [ebp - 0x34], 0x2852
jle 0x1000d632
push 0
push 0xff7
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and dword [ebp - 0x24], 0
jmp 0x1000d5e5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x19e7
jge 0x1000d632
and dword [ebp - 0x28], 0
jmp 0x1000d5fb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2345
jge 0x1000d630
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
mov ecx, 0x10080d98
call fcn.10001b47
jmp 0x1000d5f4
jmp 0x1000d5de
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x268e
jge 0x1000d65b
mov edx, dword [ebp - 0xb8]
mov ecx, 0x10080d98
call fcn.10003a21
jmp 0x1000d677
or dword [ebp - 4], 0xffffffff
jmp 0x1000d681
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jne 0x1000d6ec
mov dword [ebp - 0x94], 1
jmp 0x1000d6f3
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x9c]
mov dword [eax], 0x820f90f5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
je 0x1000d72d
mov dword [ebp - 0x44], 1
jmp 0x1000d731
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
sub edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
sub ecx, edx
cmp ecx, dword [eax]
jge 0x1000d75a
mov dword [ebp - 0x30], 1
jmp 0x1000d75e
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x4640
jge 0x1000d770
mov dword [ebp - 0x40], 1
jmp 0x1000d774
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x40]
jg 0x1000d787
mov dword [ebp - 0x48], 1
jmp 0x1000d78b
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
dec ecx
cmp ecx, dword [eax]
jle 0x1000d7a2
mov dword [ebp - 0xac], 1
jmp 0x1000d7a9
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret