Function at 0x10035bef
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070a22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x10035cdf
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10035c8f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10035c73
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x10035c8d
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.10022272
or dword [eax], 0xffffffff
jmp 0x10035c68
jmp 0x10035cda
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10035cbd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 4
jge 0x10035cda
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.10022272
mov dword [eax], 4
jmp 0x10035cb2
jmp 0x10035e36
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x2c], 0x1e92
mov dword [ebp - 0x5c], 0x100082e4
cmp dword [ebp - 0x2c], 0x2083
jle 0x10035db2
and dword [ebp - 0x1c], 0
jmp 0x10035d1f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7e08
jge 0x10035da5
and dword [ebp - 0x20], 0
jmp 0x10035d35
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7cad
jge 0x10035da0
and dword [ebp - 0x24], 0
jmp 0x10035d4b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5d0
jge 0x10035d9e
and dword [ebp - 0x28], 0
jmp 0x10035d61
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x59e7
jge 0x10035d9c
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
shl edx, cl
mov ecx, dword [ebp - 0x28]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
mov ecx, 0x106185d8
call fcn.10021f59
jmp 0x10035d5a
jmp 0x10035d44
jmp 0x10035d2e
jmp 0x10035d18
push 0x4d5
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x1ccb
jge 0x10035dd2
mov edx, dword [ebp - 0x5c]
mov ecx, 0x106185d8
call fcn.1002654e
jmp 0x10035dee
or dword [ebp - 4], 0xffffffff
jmp 0x10035df8
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push 0x1b55
push dword [ebp - 0x6c]
push 0x4be3
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push 0
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call fcn.1003a0ee
add esp, 0x2c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret