Function at 0x42da60
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4b1dab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44c
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
push edi
mov ecx, dword [esi + 4]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x20]
add esi, 0x20
lea eax, [esp + 0x20]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x38], esi
call dword [edx + 0x38]
lea ecx, [esp + 0x10]
call fcn.00435920
mov edx, dword [0x4d7448]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], ebp
mov eax, dword [edx + 8]
push 0x100
push ecx
push 0x8f
push eax
mov dword [esp + 0x474], ebp
call ebx
cmp eax, ebp
jne 0x42daf9
mov word [esp + 0x54], bp
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x42db29
lea eax, [esp + 0x54]
test eax, eax
je 0x42db18
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x54]
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.00405ad0
jmp 0x42db8c
push 0x1ff
lea ecx, [esp + 0x18]
mov edi, 0x200
call fcn.004058b0
mov esi, eax
cmp esi, ebp
je 0x42db7d
mov eax, dword [0x4d7448]
push edi
push esi
push 0x8f
mov eax, dword [eax + 8]
push eax
call ebx
cmp eax, ebp
jne 0x42db5b
mov word [esi], bp
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x42db7d
add edi, 0x100
lea ecx, [esp + 0x14]
lea edx, [edi - 1]
push edx
call fcn.004058b0
mov esi, eax
cmp esi, ebp
jne 0x42db42
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00405970
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffd8
lea ecx, [esp + 0x48]
push 0xffffffffffffffd8
push ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_InflateRect]
push 1
lea edx, [esp + 0x48]
push 1
lea eax, [esp + 0x18]
push edx
push eax
push 0x8f
mov ecx, esi
call fcn.00439e90
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
push ebp
lea edx, [esp + 0x258]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x258]
push 0x26
push edx
push ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x254]
lea ecx, [esp + 0x14]
push eax
push 0x8d
push ecx
mov dword [esp + 0x24], ebp
call fcn.00406c90
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
add esp, 0xc
add eax, 0x3c
mov dword [esp + 0x34], eax
lea edx, [esp + 0x34]
push 1
push 1
push ebp
lea eax, [esp + 0x1c]
push edx
add edi, 0x50
push eax
push 0x8d
mov ecx, esi
mov dword [esp + 0x50], edi
call fcn.00439e30
mov ecx, dword [0x4d7448]
lea edx, [esp + 0x54]
push 0x100
push edx
mov eax, dword [ecx + 8]
push 0x8e
push eax
call ebx
cmp eax, ebp
jne 0x42dc8a
mov word [esp + 0x54], bp
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x42dcbe
lea edx, [esp + 0x54]
test edx, edx
jne 0x42dca2
xor eax, eax
jmp 0x42dcad
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x54]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00405ad0
jmp 0x42dd3a
push 0x1ff
lea ecx, [esp + 0x18]
mov edi, 0x200
call fcn.004058b0
mov esi, eax
cmp esi, ebp
je 0x42dd13
mov edx, dword [0x4d7448]
push edi
push esi
push 0x8e
mov eax, dword [edx + 8]
push eax
call ebx
cmp eax, ebp
jne 0x42dcf1
mov word [esi], bp
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x42dd13
add edi, 0x100
lea ecx, [esp + 0x14]
lea edx, [edi - 1]
push edx
call fcn.004058b0
mov esi, eax
cmp esi, ebp
jne 0x42dcd7
lea ecx, [esp + 0x14]
call fcn.00405cc0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x14]
mov word [edx + eax*2], bp
push 0x1e
lea eax, [esp + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
push 1
lea ecx, [esp + 0x3c]
push ebp
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x8e
mov ecx, esi
call fcn.00439e30
lea ecx, [esp + 0x10]
mov dword [esp + 0x464], 0xffffffff
call fcn.00435940
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x458
ret