Function at 0x409420
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc98
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc94], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, edx
xor eax, eax
mov dword [esp + 0x14], ebp
xor ecx, ecx
push edi
mov word [esi], ax
movzx eax, word [ebp]
test ax, ax
je 0x40983d
mov ebx, dword [esp + 0xcac]
mov edx, eax
nop dword [eax]
cmp dx, 0x7b
jne 0x40947c
xor eax, eax
lea ecx, [esp + 0xa0]
mov word [esp + 0xa0], ax
jmp 0x409827
cmp dx, 0x7d
jne 0x40980a
xor eax, eax
mov word [ecx], ax
mov byte [esp + 0x17], al
lea eax, [esp + 0xa0]
push 0x423a58
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x4094b7
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov al, 1
jmp 0x4097db
lea eax, [esp + 0xa0]
push 0x423a64
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x409520
mov edi, ebx
call fcn.0040e001
cmp word [esi], 0
mov ecx, esi
mov eax, dword [eax]
mov edx, dword [eax]
je 0x4094ed
add ecx, 2
dec edi
cmp word [ecx], 0
jne 0x4094e3
movzx eax, word [edx]
mov ebp, eax
test ax, ax
je 0x409512
cmp edi, 1
jb 0x409861
add edx, 2
mov word [ecx], ax
add ecx, 2
dec edi
movzx eax, word [edx]
test ax, ax
jne 0x4094f7
mov ebp, dword [esp + 0x18]
xor eax, eax
mov word [ecx], ax
jmp 0x4097db
lea eax, [esp + 0xa0]
push str.PROGRAM_BASE
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x4095ac
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409540
sub ecx, edx
mov eax, ebx
sar ecx, 1
mov edx, str.PROGRAM
sub eax, ecx
mov ecx, esi
push eax
call fcn.00409420
add esp, 4
test al, al
je 0x40985d
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409570
sub ecx, edx
sar ecx, 1
cmp ecx, 4
jb 0x4097d7
add ecx, 0xfffffffc
push str..exe
lea edi, [esi + ecx*2]
push edi
call fcn.00411941
add esp, 8
test eax, eax
jne 0x4097d7
mov word [edi], ax
jmp 0x4097db
lea eax, [esp + 0xa0]
push 0x423ab0
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x4095f4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x423a54
lea eax, [esp + 0x28]
push 0x80
push eax
call fcn.00401040
push ebx
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.00409870
add esp, 0x14
jmp 0x4097d7
lea eax, [esp + 0xa0]
push 0x423ab8
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x40962a
push ebx
lea edx, [eax + 0x28]
mov ecx, esi
call fcn.00409370
add esp, 4
test al, al
je 0x40985d
mov al, 1
jmp 0x4097db
lea eax, [esp + 0xa0]
push str.CACHE_DIR
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x409660
push ebx
lea edx, [eax + 0x1c]
mov ecx, esi
call fcn.00409370
add esp, 4
test al, al
je 0x40985d
mov al, 1
jmp 0x4097db
lea eax, [esp + 0xa0]
push str.COMPANY
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x4096b8
mov edx, ebx
mov ecx, esi
cmp word [esi], ax
je 0x40968c
add ecx, 2
dec edx
cmp word [ecx], 0
jne 0x409682
mov edi, 0x423ae8
sub edi, ecx
cmp edx, 1
jb 0x409861
mov ax, word [edi + ecx]
dec edx
mov word [ecx], ax
add ecx, 2
cmp word [edi + ecx], 0
jne 0x409693
xor eax, eax
mov word [ecx], ax
jmp 0x4097db
lea eax, [esp + 0xa0]
push str.PRODUCT
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x409716
mov edx, ebx
mov ecx, esi
cmp word [esi], ax
je 0x4096ea
nop word [eax + eax]
add ecx, 2
dec edx
cmp word [ecx], 0
jne 0x4096e0
mov edi, 0x423b08
sub edi, ecx
cmp edx, 1
jb 0x409861
mov ax, word [edi + ecx]
dec edx
mov word [ecx], ax
add ecx, 2
cmp word [edi + ecx], 0
jne 0x4096f1
xor eax, eax
mov word [ecx], ax
jmp 0x4097db
lea eax, [esp + 0xa0]
push str.VERSION
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x409772
mov edx, ebx
mov ecx, esi
cmp word [esi], ax
je 0x409742
add ecx, 2
dec edx
cmp word [ecx], 0
jne 0x409738
mov edi, str.1.0_1.0.0.1
sub edi, ecx
nop dword [eax]
cmp edx, 1
jb 0x409861
mov ax, word [edi + ecx]
dec edx
mov word [ecx], ax
add ecx, 2
cmp word [edi + ecx], 0
jne 0x409750
xor eax, eax
mov word [ecx], ax
jmp 0x4097db
lea eax, [esp + 0xa0]
push str.TIME
push eax
call fcn.00411941
add esp, 8
test eax, eax
jne 0x40985d
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [esp + 0x1c]
lea eax, [esp + 0x8a4]
push dword [esp + 0x1c]
push str._lld
push 0x400
push eax
call fcn.00401040
add esp, 0x14
lea edx, [esp + 0x8a0]
mov ecx, esi
push ebx
call fcn.00409870
add esp, 4
mov al, byte [esp + 0x17]
cmp word [esi], 0
je 0x4097eb
add esi, 2
dec ebx
cmp word [esi], 0
jne 0x4097e1
test al, al
je 0x409806
cmp word [esi - 2], 0x5c
jne 0x409806
sub esi, 2
xor eax, eax
inc ebx
mov word [esi], ax
cmp word [esi - 2], 0x5c
je 0x4097f6
xor ecx, ecx
jmp 0x409827
test ecx, ecx
je 0x409816
mov word [ecx], dx
add ecx, 2
jmp 0x409827
cmp ebx, 1
jb 0x40985d
mov word [esi], dx
xor eax, eax
add esi, 2
dec ebx
mov word [esi], ax
movzx eax, word [ebp + 2]
add ebp, 2
mov dword [esp + 0x18], ebp
mov edx, eax
test ax, ax
jne 0x409460
xor eax, eax
mov word [esi], ax
mov al, 1
mov ecx, dword [esp + 0xca4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a859
add esp, 0xc98
ret
xor al, al
jmp 0x409844
call fcn.0040db05
int3