Function at 0x44d620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52016b
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x56d370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x44d8ad
push 0x401
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
call fcn.00407640
mov eax, dword [0x572890]
mov ecx, dword [ebp - 0x288]
mov edx, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x27c], esi
test eax, eax
jne 0x44d82f
mov dword [ebp - 0x130], str.getaddrinfo
mov dword [ebp - 0x12c], 0x44dde0
mov dword [ebp - 0x128], str.getnameinfo
mov dword [ebp - 0x124], 0x44e150
mov dword [ebp - 0x120], str.freeaddrinfo
mov dword [ebp - 0x11c], fcn.0044dd90
cmp dword [0x57288c], eax
jne 0x44d825
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x44d80f
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x23c]
push 0x10c
push eax
call fcn.004ad0e8
push 0x532144
lea eax, [ebp - 0x23c]
push 0x10c
push eax
call fcn.004ad1ab
add esp, 0x18
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x44d767
push str.getaddrinfo
push edi
call esi
test eax, eax
jne 0x44d7b7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x23c]
push 0x10c
push eax
call fcn.004ad0e8
push str.wship6
lea eax, [ebp - 0x23c]
push 0x10c
push eax
call fcn.004ad1ab
add esp, 0x18
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44d809
push str.getaddrinfo
push edi
call esi
test eax, eax
je 0x44d802
xor esi, esi
nop dword [eax]
push dword [ebp + esi*8 - 0x130]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + esi*8 - 0x12c], eax
test eax, eax
je 0x44d802
inc esi
cmp esi, 3
jl 0x44d7c0
mov eax, dword [ebp - 0x12c]
mov dword [0x56d2cc], eax
mov eax, dword [ebp - 0x124]
mov dword [0x56d2d4], eax
mov eax, dword [ebp - 0x11c]
mov dword [fcn.0044dd90], eax
jmp 0x44d809
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x280]
mov dword [0x57288c], 1
mov eax, dword [0x56d2d4]
mov dword [0x572890], eax
push 2
push 0
push 0
push 0x401
push ecx
push edx
push esi
call eax
mov esi, eax
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
test esi, esi
jne 0x44d8c9
mov esi, dword [ebp - 0x288]
push dword [ebx + 0x10]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
call fcn.0047f552
lea eax, [ebp - 0x280]
mov dword [ebx + 0x10], esi
push esi
push eax
call fcn.0044f310
mov esi, dword [eax]
mov dword [eax], 0
push dword [ebx + 0x10]
call fcn.0047f552
push dword [ebp - 0x280]
mov dword [ebx + 0x10], esi
call fcn.0047f552
push dword [ebp - 0x288]
call fcn.0047f552
mov eax, dword [ebx + 0x10]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047fc61
mov esp, ebp
pop ebp
ret
push esi
push str.getnameinfo
lea ecx, [ebp - 0x278]
call fcn.0044c5a0
push 0x56165c
lea eax, [ebp - 0x278]
push eax
call fcn.00481150
int3