Function at 0x1000da7d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x16c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000e3d3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x110], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x1000e3c4
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xb8], eax
and dword [ebp - 0x14c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x148]
rep stosd dword es:[edi], eax
push 2
lea ecx, [ebp - 0x6c]
call fcn.10025cee
and dword [ebp - 4], 0
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x24], 0xf39cee24
mov dword [ebp - 0x8c], 0x29c214f1
push 4
lea ecx, [ebp - 0x128]
call fcn.10025cee
mov byte [ebp - 4], 1
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xf0], 0xd4938140
lea eax, [ebp - 0x6c]
push eax
push 0x135b
push 0
lea eax, [ebp - 0x20]
push eax
push 0x2280
push 1
push 0x168e
push 1
call fcn.1002170f
add esp, 0x20
mov dword [ebp - 0x20], 0
jmp 0x1000db86
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1000db99
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x60], 0
jmp 0x1000db7f
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.10016a80
add esp, 0xc
push 1
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
mov esi, dword [ebp - 0x24]
push 0
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
sub esi, dword [eax]
cmp esi, dword [ebp - 0x24]
jg 0x1000dbd8
mov dword [ebp - 0xc4], 1
jmp 0x1000dbdf
and dword [ebp - 0xc4], 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
mov esi, eax
push 0
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
mov ecx, dword [esi]
sub ecx, dword [eax]
mov dword [ebp - 0x78], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0x60], ecx
cmp dword [ebp - 0x78], 0
je 0x1000dc28
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
je 0x1000dc28
mov dword [ebp - 0x9c], 1
jmp 0x1000dc2f
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x9c], eax
jne 0x1000dc46
mov dword [ebp - 0xc0], 1
jmp 0x1000dc4d
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xc0], eax
jl 0x1000dc61
mov dword [ebp - 0x7c], 1
jmp 0x1000dc65
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x7c], eax
jl 0x1000dc79
mov dword [ebp - 0xbc], 1
jmp 0x1000dc80
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0x52e4
jle 0x1000dc98
mov dword [ebp - 0x84], 1
jmp 0x1000dc9f
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x84]
jl 0x1000dcb6
mov dword [ebp - 0xa4], 1
jmp 0x1000dcbd
and dword [ebp - 0xa4], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax]
jle 0x1000dcdd
mov dword [ebp - 0xe0], 1
jmp 0x1000dce4
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x24]
neg eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x285ce96b
je 0x1000dd10
mov dword [ebp - 0xb4], 1
jmp 0x1000dd17
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0x717b
je 0x1000dd2c
mov dword [ebp - 0x54], 1
jmp 0x1000dd30
and dword [ebp - 0x54], 0
push 0
lea ecx, [ebp - 0x128]
call fcn.10025d6c
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x54], eax
je 0x1000dd59
mov dword [ebp - 0x94], 1
jmp 0x1000dd60
and dword [ebp - 0x94], 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax]
jg 0x1000dd80
mov dword [ebp - 0xac], 1
jmp 0x1000dd87
and dword [ebp - 0xac], 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
je 0x1000dda4
mov dword [ebp - 0x74], 1
jmp 0x1000dda8
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0
jg 0x1000ddba
mov dword [ebp - 0xe8], 1
jmp 0x1000ddc1
and dword [ebp - 0xe8], 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
mov eax, dword [eax]
sub eax, 0xa103
jne 0x1000dde7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
jne 0x1000dde7
and dword [ebp - 0x70], 0
jmp 0x1000ddee
mov dword [ebp - 0x70], 1
push 1
lea ecx, [ebp - 0x6c]
call fcn.10025d6c
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [eax]
jge 0x1000de08
mov dword [ebp - 0x80], 1
jmp 0x1000de0c
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x80], eax
jge 0x1000de20
mov dword [ebp - 0x88], 1
jmp 0x1000de27
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.10025d50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.10025d50
mov dword [ebp - 0xa8], 0x6288
mov dword [ebp - 0xc8], 0x100079a8
cmp dword [ebp - 0xa8], 0x659c
jle 0x1000df17
and dword [ebp - 0x4c], 0
jmp 0x1000de7f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x547c
jge 0x1000df17
and dword [ebp - 0x34], 0
jmp 0x1000de99
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x52aa
jge 0x1000df12
and dword [ebp - 0x40], 0
jmp 0x1000deaf
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x4fe4
jge 0x1000df10
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
shl eax, cl
mov ecx, dword [ebp - 0x40]
shl eax, cl
cdq
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], edx
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x164]
call fcn.1000b1a5
pop ecx
pop ecx
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
call fcn.100259bb
push eax
call fcn.1005e68c
pop ecx
lea ecx, [ebp - 0x164]
call fcn.1002599d
jmp 0x1000dea8
jmp 0x1000de92
jmp 0x1000de78
push 0x1c
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x100]
push 0x7a1e
push 0x7ea3
call fcn.10054397
pop ecx
pop ecx
call eax
test eax, eax
je 0x1000e0e1
mov dword [ebp - 0xec], 0xee
mov dword [ebp - 0x5c], 0xf4288a13
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x2c], 0x439cb61d
cmp dword [ebp - 0x28], 0
jne 0x1000df74
xor eax, eax
inc eax
jne 0x1000df74
and dword [ebp - 0x90], 0
jmp 0x1000df7e
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x90], eax
jne 0x1000df95
mov dword [ebp - 0x98], 1
jmp 0x1000df9c
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x98]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], 0x1a
jmp 0x1000dfca
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x17
je 0x1000e000
push 0x3b5a
push 0x1a25
push 0
call fcn.10015868
add esp, 0xc
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1000dffe
push 0x10c0
push 0
call fcn.1001088f
pop ecx
pop ecx
jmp 0x1000dfc3
mov eax, dword [ebp - 0x138]
and eax, dword [ebp - 0xec]
jne 0x1000e01a
mov dword [ebp - 0xa0], 1
jmp 0x1000e021
and dword [ebp - 0xa0], 0
mov al, byte [ebp - 0xa0]
mov byte [ebp - 0x11], al
mov dword [ebp - 0x48], 0x91a049fe
mov byte [ebp - 0x1a], 0
push 0x7447
push 1
push 1
lea eax, [ebp - 0x1a]
push eax
push 0x1ba0
push 0x184b
push 0x4864
push 0x19dc
push 0x3a23
push 0x79a3
call fcn.1000d405
add esp, 0x28
mov dword [ebp - 0x48], 0x16
jmp 0x1000e078
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x11
jl 0x1000e0b8
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0xf4], 0xa2a3b3f3
lea eax, [ebp - 0x10c]
push eax
push 1
push 0x1e71
push 1
push 0x4e71
lea eax, [ebp - 0xf4]
push eax
call fcn.1000d84b
add esp, 0x18
jmp 0x1000e071
mov eax, dword [ebp - 0x138]
and eax, 0x101
je 0x1000e0c9
mov byte [ebp - 0x11], 1
push 0
call fcn.100213ba
pop ecx
mov eax, dword [ebp - 0xb8]
mov cl, byte [ebp - 0x11]
mov byte [eax], cl
jmp 0x1000e3db
mov dword [ebp - 4], 2
cmp dword [ebp - 0xa8], 0x5fef
jge 0x1000e100
push dword [ebp - 0xc8]
call fcn.1005e68c
pop ecx
jmp 0x1000e11c
or dword [ebp - 4], 0xffffffff
jmp 0x1000e126
push 3
lea ecx, [ebp - 0x11c]
call fcn.10025cee
mov dword [ebp - 4], 4
mov dword [ebp - 0x50], 0x94643cdf
push 1
push 0x7cd8
lea eax, [ebp - 0x11c]
push eax
push 0x1442
lea eax, [ebp - 0x130]
push eax
push 0x4d86
push 0x40b7
push 0
push 0x2baa
push 0x6f34
push 0x10cf
push 0x6ce8
push 0x7d
push 0x1aa3
push 0x18b3
push 0x2e26
push 0x204e
push 0x20e0
call fcn.1001307f
add esp, 0x48
mov dword [ebp - 0x50], 0
jmp 0x1000e1ae
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jg 0x1000e3a8
mov dword [ebp - 0x18], 0x17f75960
mov dword [ebp - 0x18], 2
jmp 0x1000e1cf
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1000e207
push dword [ebp - 0x18]
lea ecx, [ebp - 0x11c]
call fcn.10025d6c
cmp dword [eax], 0
je 0x1000e1ea
jmp 0x1000e207
push 0x261a
push 0x789b
push 0x1f86
push 1
push 1
call fcn.1000d363
add esp, 0x14
jmp 0x1000e1c8
mov dword [ebp - 0x18], 2
jmp 0x1000e217
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1000e3a3
mov dword [ebp - 0x44], 0
jmp 0x1000e231
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1000e244
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x30], 0
jmp 0x1000e22a
mov dword [ebp - 0xb0], 0x45c0
mov dword [ebp - 0xd4], 0x10007a14
cmp dword [ebp - 0xb0], 0x473a
jle 0x1000e306
and dword [ebp - 0x38], 0
jmp 0x1000e275
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x774e
jge 0x1000e2ea
and dword [ebp - 0x3c], 0
jmp 0x1000e28b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x4e21
jge 0x1000e2e8
mov eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0x3c]
mov eax, edx
cdq
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], edx
push dword [ebp - 0x104]
push dword [ebp - 0x108]
lea ecx, [ebp - 0x17c]
call fcn.1000b1a5
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.100259bb
push eax
call fcn.1005e68c
pop ecx
lea ecx, [ebp - 0x17c]
call fcn.1002599d
jmp 0x1000e284
jmp 0x1000e26e
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x30], 0
jmp 0x1000e32b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x30], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x30], 2
jg 0x1000e356
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x30]
lea ecx, [ebp - 0x11c]
call fcn.10025d6c
cmp dword [eax], 0
je 0x1000e354
jmp 0x1000e356
jmp 0x1000e316
mov byte [ebp - 4], 5
cmp dword [ebp - 0xb0], 0x444d
jge 0x1000e372
push dword [ebp - 0xd4]
call fcn.1005e68c
pop ecx
jmp 0x1000e38e
mov dword [ebp - 4], 4
jmp 0x1000e39e
jmp 0x1000e210
jmp 0x1000e1a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10025d50
mov eax, dword [ebp - 0xb8]
mov byte [eax], 1
jmp 0x1000e3db
push 0x14a0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1000e3db
push 0
call fcn.1000d1ae
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret