Function at 0x403e30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.00415332
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
call fcn.00415332
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
push 0
mov byte [ebp - 4], 2
call ebx
mov edi, eax
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
inc edi
sub eax, edi
or eax, ecx
jge 0x403eb2
push edi
lea ecx, [ebp - 0x20]
call fcn.004011d0
mov esi, dword [ebp - 0x20]
test edi, edi
jl 0x404058
cmp edi, dword [esi - 8]
jg 0x404058
push esi
mov dword [esi - 0xc], edi
push edi
mov word [esi + edi*2], 0
call ebx
test eax, eax
push esi
jne 0x403f2c
call fcn.00408c0d
add esp, 4
test eax, eax
jl 0x404058
cmp eax, dword [esi - 8]
jg 0x404058
mov dword [esi - 0xc], eax
push 0
mov word [esi + eax*2], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10
push 0
push 0x77
lea ecx, [ebp - 0x40]
call fcn.004015e0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00403830
push 0x4201c8
lea ecx, [ebp - 0x60]
push ecx
call fcn.0040970a
call fcn.00408c0d
add esp, 4
test eax, eax
jl 0x404058
cmp eax, dword [esi - 8]
jg 0x404058
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov dword [ebp - 0x18], 0
mov bl, 1
call fcn.00415332
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 4
test bl, bl
je 0x403fd9
mov eax, dword [ebp - 0x18]
push eax
push edi
push esi
lea ecx, [ebp - 0x14]
push str._s_s_i.log
push ecx
call fcn.004020a0
mov edx, dword [ebp - 0x14]
add esp, 0x14
push edx
call fcn.00402ea0
add esp, 4
test al, al
je 0x403fa0
inc dword [ebp - 0x18]
jmp 0x403fae
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
xor bl, bl
call fcn.00402030
cmp dword [ebp - 0x18], 5
jl 0x403f70
push 0
push edi
push esi
lea ecx, [ebp - 0x14]
push str._s_s_i.log
push ecx
xor bl, bl
call fcn.004020a0
add esp, 0x14
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00402030
jmp 0x403f70
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ffa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404018
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [ebp - 0x1c]
lea edi, [esi - 0x10]
push edi
mov dword [ebp - 4], 0
call fcn.00401220
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.dependencies
mov byte [ebp - 4], 6
call fcn.00408c0d
add esp, 8
push eax
push str.dependencies
lea ecx, [ebp - 0x20]
call fcn.00401ee0
test esi, esi
jne 0x404068
xor eax, eax
jmp 0x404071
push 0x80070057
call fcn.00401000
mov eax, 0x404018
ret
push esi
call fcn.00408c0d
add esp, 4
push eax
push esi
mov ecx, 0x424760
call fcn.00401300
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x404088
xor eax, eax
jmp 0x404091
push esi
call fcn.00408c0d
add esp, 4
push eax
push esi
mov ecx, 0x424764
call fcn.00401300
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4040bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4040d9
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret