Function at 0x100082df
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
push 0x200
push 0x10148390
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x1009a4c4
push 0x10148390
call fcn.1001bc40
add esp, 8
cmp dword [ebp + 0x14], 0x2000000
jne 0x10008333
push 0x1009a4d0
lea eax, [ebp - 0x88]
push eax
call fcn.1001bc30
add esp, 8
jmp 0x10008347
push 0x1009a4d8
lea eax, [ebp - 0x88]
push eax
call fcn.1001bc30
add esp, 8
mov dword [0x10144f70], 0
jmp 0x1000835c
inc dword [0x10144f70]
cmp dword [0x10144f70], 0x3000
jge 0x10008389
mov eax, dword [0x10144f70]
mov byte [eax + 0x101487b0], 0
mov eax, dword [0x10144f70]
mov byte [eax + 0x10144f80], 0
jmp 0x10008356
push 0x1014b7b0
push 0x10144f80
push 0x10148390
call fcn.10009a07
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100083b3
mov eax, 0xffffffff
jmp 0x1000877a
push 0x10148594
mov ax, word [0x1014b7b0]
push eax
push 0x10144f80
lea eax, [ebp - 0x88]
push eax
call fcn.100073c8
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100083f7
push 0x80002
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x1000877a
push 0x1014ba20
xor eax, eax
mov ax, word [0x1014b7b0]
xor ecx, ecx
mov cx, word [0x10148594]
sub eax, ecx
push eax
mov eax, dword [ebp - 8]
inc eax
push eax
push 0x1009a4e4
call fcn.100073c8
add esp, 0x10
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x10008444
mov ax, word [0x1014ba20]
mov word [ebp - 4], ax
jmp 0x1000845b
xor eax, eax
mov ax, word [0x1014b7b0]
xor ecx, ecx
mov cx, word [0x10148594]
sub eax, ecx
mov word [ebp - 4], ax
push 0x10148596
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.100073c8
add esp, 0x10
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x10008603
cmp dword [ebp + 0x10], 0
jne 0x100085fe
push 0x10148386
push 0x50
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x10148596]
add eax, ecx
add eax, dword [ebp - 8]
inc eax
push eax
push 0x1009a158
call fcn.100073c8
add esp, 0x10
xor ebx, ebx
mov bx, word [0x1014b7b0]
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x10148596]
xor edx, edx
mov dx, word [0x10148594]
add ecx, edx
add eax, ecx
xor ecx, ecx
mov cx, word [0x10148386]
add eax, ecx
inc eax
sub ebx, eax
push ebx
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x10148386]
add eax, ecx
xor ecx, ecx
mov cx, word [0x10148596]
add eax, ecx
add eax, dword [ebp - 8]
inc eax
push eax
push 0x101487b0
call fcn.1001c290
add esp, 0xc
xor ebx, ebx
mov bx, word [0x1014b7b0]
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x10148596]
xor edx, edx
mov dx, word [0x10148594]
add ecx, edx
add eax, ecx
xor ecx, ecx
mov cx, word [0x10148386]
add eax, ecx
inc eax
sub ebx, eax
push ebx
push 0x101487b0
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001bd20
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
add ebx, eax
xor eax, eax
mov ax, word [0x10148596]
add ebx, eax
add ebx, dword [ebp - 8]
inc ebx
push ebx
call fcn.1001c290
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001bd20
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x10148596]
add eax, ecx
add eax, dword [ebp - 8]
inc eax
push eax
call fcn.1001c290
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x10148386]
sub eax, ecx
xor ecx, ecx
mov cx, word [0x1014b7b0]
add eax, ecx
mov word [0x1014b7b0], ax
jmp 0x10008749
xor ebx, ebx
mov bx, word [0x1014b7b0]
lea eax, [ebp - 0x88]
push eax
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x10148594]
add eax, ecx
sub ebx, eax
push ebx
lea eax, [ebp - 0x88]
push eax
call fcn.1001bd20
add esp, 4
mov ecx, dword [ebp - 8]
add ecx, eax
push ecx
push 0x101487b0
call fcn.1001c290
add esp, 0xc
xor ebx, ebx
mov bx, word [0x1014b7b0]
lea eax, [ebp - 0x88]
push eax
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x10148594]
add eax, ecx
sub ebx, eax
push ebx
push 0x101487b0
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001bd20
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
add ebx, eax
lea eax, [ebp - 0x88]
push eax
call fcn.1001bd20
add esp, 4
add ebx, eax
add ebx, dword [ebp - 8]
add ebx, 3
push ebx
call fcn.1001c290
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x1014b9d0
call fcn.1001bc30
add esp, 8
push 0x1009a4e8
push 0x1014b9d0
call fcn.1001bc40
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push 0x1014b9d0
call fcn.1001bc40
add esp, 8
push 0x1009a158
push 0x1014b9d0
call fcn.1001bc40
add esp, 8
push 0x1014b9d0
call fcn.1001bd20
add esp, 4
push eax
push 0x1014b9d0
lea eax, [ebp - 0x88]
push eax
call fcn.1001bd20
add esp, 4
mov ecx, dword [ebp - 8]
add ecx, eax
add ecx, 2
push ecx
call fcn.1001c290
add esp, 0xc
push 0x1014b9d0
call fcn.1001bd20
add esp, 4
xor ecx, ecx
mov cx, word [0x1014b7b0]
add eax, ecx
mov word [0x1014b7b0], ax
push 0x1014b7b0
push 0x10144f80
push 0x10148390
call fcn.10009b50
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10008773
mov eax, 0xffffffff
jmp 0x1000877a
xor eax, eax
jmp 0x1000877a
pop edi
pop esi
pop ebx
leave
ret