Function at 0x44c340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4952e0
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x430], 0xffffffff
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x434], eax
mov edx, dword [ebp - 0x434]
cmp edx, dword [ebp - 0x224]
ja 0x44c3b6
cmp dword [ebp - 0x434], 0
jne 0x44c3e7
mov dword [ebp - 0x430], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a1a40
push 0x4a1a34
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x44c622
lea eax, [ebp - 0x42c]
push eax
push 0
push 0x4a1a84
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x44c442
mov dword [ebp - 0x430], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetTempFileName_failed_with_error__d.
push 0x4a1a8c
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x44c622
lea edx, [ebp - 0x42c]
push edx
mov ecx, 0x4c3934
call fcn.00401f70
push 0x4a1ae4
mov ecx, 0x4c3934
call fcn.00441d80
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x438], esp
push 0x4a1af0
call fcn.00401c70
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x454], eax
mov dword [ebp - 4], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x43c], esp
push str.SNETCOMM.DLL
call fcn.00401c70
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x45c], ecx
mov byte [ebp - 4], 1
mov ecx, 0x4c3934
call fcn.00401ff0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x440], esp
push eax
call fcn.00401c70
mov dword [ebp - 0x460], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x4c3688
call fcn.0045ef90
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
jne 0x44c531
mov dword [ebp - 0x430], 3
mov ecx, 0x4c3934
call fcn.00401ff0
push eax
push str.make_resource__s_failed
push 0x4a1b2c
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x44c622
mov ecx, 0x4c3934
call fcn.00401ff0
push eax
call fcn.00469780
mov ecx, eax
call fcn.00469820
test eax, eax
jne 0x44c581
mov dword [ebp - 0x430], 4
mov ecx, 0x4c3934
call fcn.00401ff0
push eax
push 0x4a1b74
push 0x4a1b68
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x44c622
call fcn.00469780
mov edx, dword [eax + 0x20]
call edx
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x44c5be
mov eax, dword [ebp - 0x430]
push eax
push str.WSAStartup_ret:_d
push 0x4a1b94
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x44c622
push 0x14
call fcn.00475d7a
add esp, 4
mov dword [ebp - 0x448], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x448], 0
je 0x44c5f1
mov ecx, dword [ebp - 0x448]
call fcn.00420240
mov dword [ebp - 0x468], eax
jmp 0x44c5fb
mov dword [ebp - 0x468], 0
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x444], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x444]
mov dword [0x4c396c], edx
xor eax, eax
jne 0x44c385
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret