Function at 0x10030b27
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10030d09
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0x3d44
mov dword [ebp - 0x34], 0x10009ad0
cmp dword [ebp - 0x28], 0x40fb
jle 0x10030c17
and dword [ebp - 0x14], 0
jmp 0x10030b95
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x38a
jge 0x10030c0a
and dword [ebp - 0x18], 0
jmp 0x10030bab
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x40c5
jge 0x10030c08
and dword [ebp - 0x1c], 0
jmp 0x10030bc1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x67ed
jge 0x10030c06
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1000cefe
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.10010976
push eax
call fcn.1004c59f
pop ecx
lea ecx, [ebp - 0x70]
call fcn.1001096c
jmp 0x10030bba
jmp 0x10030ba4
jmp 0x10030b8e
push 0xd4b
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x3cb3
jge 0x10030c33
push dword [ebp - 0x34]
call fcn.1004c59f
pop ecx
jmp 0x10030c4f
or dword [ebp - 4], 0xffffffff
jmp 0x10030c59
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10030c80
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [eax + 0x10], 1
jmp 0x10030d07
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
push 0x7692
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0x4ca1
push 0x2649
push 0x3c57
push 1
lea eax, [ebp - 0x24]
push eax
push 0x5813
push 0x2683
push 0xd62
call fcn.10035cae
add esp, 0x30
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x10030d07
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x10030ced
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x10030d07
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x10030d07
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x10030d2c
push 0x2d25
push 0x7e71
push 0x79a4
push 1
push 0x7544
push 0x215
call fcn.10016725
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret