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

Disassembly:
push 0xffffffffffffffff
push 0x598aa7
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, dword [esp + 0xd8]
xor ebx, ebx
mov dword [esp + 0x14], ebx
push ebx
mov ebp, 0xf
push 0x59fa81
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040bad0
mov dword [esp + 0xd0], ebx
call fcn.004408a0
push eax
lea eax, [esp + 0x58]
push str.Software_
push eax
call fcn.0040c620
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0xbc]
push reloc.WS2_32.dll_accept
push edx
mov byte [esp + 0xec], 1
call fcn.0043efb0
add esp, 0x1c
mov edi, 0x10
cmp dword [esp + 0x6c], edi
jb 0x44528f
mov eax, dword [esp + 0x58]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0xd0], 4
cmp dword [esp + 0x34], edi
jb 0x4452b6
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0xbc], ebx
je 0x44531c
lea edx, [esp + 0xa8]
push edx
call fcn.0043dd00
add esp, 4
test al, al
je 0x44531c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb0]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040b880
cmp dword [esp + 0xc0], edi
jb 0x4456df
mov ecx, dword [esp + 0xac]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x4456df
call fcn.004405a0
push eax
call fcn.00441a60
push eax
lea edx, [esp + 0x40]
push edx
call fcn.0040c7a0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 5
call fcn.0040b880
mov byte [esp + 0xd0], 4
cmp dword [esp + 0x50], edi
jb 0x445368
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xa8]
push ecx
call fcn.0043dd00
add esp, 4
test al, al
je 0x4453b9
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb0]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040b880
cmp dword [esp + 0xc0], edi
jb 0x4456df
mov eax, dword [esp + 0xac]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x4456df
call fcn.004405a0
push eax
call fcn.00441920
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0040c7a0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 6
call fcn.0040b880
mov byte [esp + 0xd0], 4
cmp dword [esp + 0x50], edi
jb 0x445405
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0xa8]
push eax
call fcn.0043dd00
add esp, 4
test al, al
je 0x445456
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xb0]
push ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040b880
cmp dword [esp + 0xc0], edi
jb 0x4456df
mov edx, dword [esp + 0xac]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x4456df
push 0x59fa81
lea ecx, [esp + 0x3c]
call fcn.0040c090
mov byte [esp + 0xd0], 7
call fcn.004408a0
push eax
lea eax, [esp + 0x74]
push str.SOFTWARE_
push eax
call fcn.0040c620
lea ecx, [esp + 0x44]
push ecx
push eax
lea edx, [esp + 0xa0]
push reloc.WS2_32.dll_bind
push edx
mov byte [esp + 0xec], 8
call fcn.0043efb0
add esp, 0x1c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 9
call fcn.0040b880
cmp dword [esp + 0xa4], edi
jb 0x4454d5
mov eax, dword [esp + 0x90]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
cmp dword [esp + 0x88], edi
jb 0x445500
mov ecx, dword [esp + 0x74]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov byte [esp + 0xd0], 4
cmp dword [esp + 0x50], edi
jb 0x44552d
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xbc], ebx
je 0x44555e
lea eax, [esp + 0xa8]
push eax
call fcn.0043dd00
add esp, 4
test al, al
je 0x44555e
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.0040baa0
jmp 0x4456d3
push 0x208
push ebx
mov dword [esp + 0x20], 0x104
call sub.MSVCR90.dll_realloc
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
push ebx
push 0x26
push edi
push ebx
mov byte [esp + 0xe0], 0xa
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x445684
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0043e5b0
push 0x5a2450
push eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0xe4], 0xb
call fcn.0040c6e0
mov ebp, eax
mov byte [esp + 0xe4], 0xc
call fcn.00440620
push eax
lea ecx, [esp + 0xa4]
push ebp
push ecx
call fcn.0040c7a0
push 0x5a2450
push eax
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0xfc], 0xd
call fcn.0040c6e0
mov ebp, eax
mov byte [esp + 0xfc], 0xe
call fcn.004405a0
push eax
lea eax, [esp + 0x68]
push ebp
push eax
call fcn.0040c7a0
add esp, 0x38
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 0xf
call fcn.0040b880
lea ecx, [esp + 0x38]
call fcn.0040b300
lea ecx, [esp + 0x70]
call fcn.0040b300
lea ecx, [esp + 0x8c]
call fcn.0040b300
lea ecx, [esp + 0x54]
call fcn.0040b300
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 0xa
call fcn.0040b300
lea ecx, [esp + 0xa8]
push ecx
call fcn.0043dd00
add esp, 4
test al, al
je 0x445684
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
call fcn.0040baa0
jmp 0x4456ca
push 0x100001
call fcn.004405a0
push eax
call fcn.00444210
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x4456bd
push 0x104
push edi
push ebx
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExW
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
call fcn.0043e5b0
add esp, 8
jmp 0x4456ca
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea ecx, [esp + 0x14]
call fcn.0040a0d0
lea ecx, [esp + 0xa8]
call fcn.0040b300
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0058ecc6
add esp, 0xc0
ret