Function at 0x4033ec
Capabilities:
Get common file path

Disassembly:
mov eax, 0x40f208
call fcn.00407440
sub esp, 0x27c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 3
call fcn.00401a8a
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00401a8a
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401a8a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.00401a8a
mov al, byte [ebp + 0x13]
xor ebx, ebx
mov byte [ebp - 0x40], al
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov al, byte [ebp + 0x13]
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x50], al
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov esi, 0x104
lea eax, [ebp - 0x184]
push esi
push eax
push ebx
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
je 0x40386a
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x40386a
lea eax, [ebp - 0x184]
lea ecx, [ebp - 0x74]
push eax
call fcn.00401d74
lea eax, [ebp - 0x288]
lea ecx, [ebp - 0x80]
push eax
call fcn.00401d74
mov esi, 0x4124d4
lea ecx, [ebp - 0x2c]
push esi
call fcn.00401c0f
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 8
call fcn.00402374
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401d53
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401c0f
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push eax
lea eax, [ebp + 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.00402374
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401d53
sub esp, 0xc
lea eax, [edi + 0xc]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00401c73
sub esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.00401c73
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
mov byte [ebp - 4], 7
call fcn.00403061
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.00401de9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401d53
mov esi, 0x413340
lea ecx, [ebp - 0x5c]
push esi
call fcn.004020d2
test al, al
je 0x4035d1
sub esp, 0xc
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00401c73
sub esp, 0xc
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00401c0f
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
mov byte [ebp - 4], 7
call fcn.00403061
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.00401de9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401d53
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00401018
pop ecx
test eax, eax
pop ecx
jne 0x40364d
push 2
pop esi
jmp 0x40386d
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x4c], ebx
je 0x403654
mov eax, dword [ebp - 0x48]
push 0xc
sub eax, dword [ebp - 0x4c]
pop ecx
cdq
idiv ecx
cmp dword [ebp - 0x10], eax
jae 0x403654
push esi
lea ecx, [ebp - 0x50]
push dword [ebp - 0x10]
call fcn.004024de
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00401c73
sub esp, 0xc
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00401c0f
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
mov byte [ebp - 4], 7
call fcn.00403061
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.004020d2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 7
call fcn.00401d53
cmp byte [ebp - 0x15], bl
jne 0x40364d
inc dword [ebp - 0x10]
jmp 0x4035d4
push 4
jmp 0x4035cb
sub esp, 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00403a07
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004038e4
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
call fcn.00403aa8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00403a75
sub esp, 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00403a07
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004038e4
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.00403aa8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00403a75
mov dword [ebp - 0x10], ebx
mov esi, 0x4124a0
cmp dword [ebp - 0x3c], ebx
je 0x40373e
mov eax, dword [ebp - 0x38]
push 0xc
sub eax, dword [ebp - 0x3c]
pop ecx
cdq
idiv ecx
cmp dword [ebp - 0x10], eax
jae 0x403728
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
call fcn.004024de
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401f6f
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x12
call fcn.00401de9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401d53
push esi
push dword [ebp - 0x60]
call fcn.00407743
pop ecx
cmp eax, ebx
pop ecx
je 0x403728
push eax
call fcn.004075c3
inc dword [ebp - 0x10]
pop ecx
jmp 0x4036c6
cmp dword [ebp - 0x3c], ebx
je 0x40373e
mov eax, dword [ebp - 0x38]
push 0xc
sub eax, dword [ebp - 0x3c]
pop ecx
cdq
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x403745
push 5
jmp 0x4035cb
push esi
push dword [ebp - 0x6c]
call fcn.00407743
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x40386a
push 0x41245c
push dword [ebp - 0x60]
call fcn.00407743
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x1c], eax
je 0x403863
push esi
call fcn.00407866
pop ecx
mov dword [ebp - 0x14], ebx
test byte [esi + 0xc], 0x10
jne 0x4037b9
cmp dword [ebp - 0x14], 0x20
jl 0x40379f
cmp dword [ebp - 0x14], 0x30
jge 0x40379f
call fcn.00407760
cdq
mov ecx, 0xff
idiv ecx
mov al, dl
push dword [ebp - 0x1c]
movzx eax, al
push eax
call fcn.0040790c
push esi
call fcn.00407866
add esp, 0xc
inc dword [ebp - 0x14]
jmp 0x40377e
push dword [ebp - 0x1c]
call fcn.004075c3
pop ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.004024de
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401c73
sub esp, 0xc
lea eax, [edi + 0xc]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 0x13
call fcn.00401c73
sub esp, 0xc
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.00401c73
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00403149
sub esp, 0xc
lea eax, [ebp - 0x68]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401c73
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x15
call fcn.004024de
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00401c73
sub esp, 0xc
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00401c0f
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00403149
mov dword [ebp - 0x14], 1
push esi
call fcn.004075c3
pop ecx
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00403a75
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00403a75
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.00401d53
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401d53
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00401d53
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00401d53
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401d53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00401d53
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18