Function at 0x4416f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a6f1c
mov eax, dword fs:[0]
push eax
mov eax, 0x2af4
call fcn.00471360
mov eax, dword [0x4c8698]
xor eax, esp
mov dword [esp + 0x2af0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x2b08]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b18]
xor edi, edi
mov ebx, 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
mov dword [esp + 0x2b10], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
push 0x206
lea ecx, [esp + 0x2902]
push edi
push ecx
mov byte [esp + 0x2b1c], 1
mov word [esp + 0x2908], di
call fcn.00470770
add esp, 0xc
push 0x104
lea edx, [esp + 0x2900]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x28fc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4417a5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2900]
push eax
lea ecx, [esp + 0x4c]
call fcn.00409b40
mov eax, dword [esp + 0x58]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4417d6
call fcn.004706c7
mov eax, dword [esp + 0x48]
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jae 0x4417e9
lea eax, [esp + 0x48]
cmp word [eax + esi*2], 0x5c
je 0x441841
push 1
push 0x4af76c
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
call fcn.00409b40
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b1c], 2
call fcn.00409940
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x441841
mov edx, dword [esp + 0x2c]
push edx
call fcn.00470259
add esp, 4
push str.iphlpapi.dll
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040a230
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2b1c], 3
call fcn.00409a50
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x441888
mov edx, dword [esp + 0x2c]
push edx
call fcn.00470259
add esp, 4
cmp dword [esp + 0x78], ebp
mov eax, dword [esp + 0x64]
jae 0x441896
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x20], esi
jne 0x4418e1
cmp dword [esp + 0x5c], ebp
jb 0x4418ba
mov eax, dword [esp + 0x48]
push eax
call fcn.00470259
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x4418da
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00470259
add esp, 4
xor al, al
jmp 0x441a02
push str.GetAdaptersInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4419a5
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x2c], 0x2880
call eax
test eax, eax
jne 0x4419a5
mov ebx, dword [esp + 0x14]
lea ebp, [eax + 3]
mov eax, ebx
lea edx, [esp + 0x1a]
sub eax, edx
lea esi, [esp + 0x7c]
mov dword [esp + 0x14], eax
jmp 0x441930
lea eax, [esi + 8]
push eax
call fcn.00441540
add esp, 4
xor ecx, ecx
mov edi, eax
mov dword [esp + 0x1a], ecx
mov word [esp + 0x1e], cx
lea esp, [esp]
mov eax, dword [esp + 0x14]
lea edx, [esp + ecx + 0x1a]
mov al, byte [eax + edx]
cmp al, byte [edx]
jne 0x441969
add ecx, 1
cmp ecx, 6
jb 0x441950
jmp 0x441976
cmp dword [esi + 0x1a0], 6
jne 0x441994
cmp ebp, edi
jle 0x441994
xor ecx, ecx
jmp 0x441980
mov dl, byte [esi + ecx + 0x194]
mov byte [ebx + ecx], dl
add ecx, 1
cmp ecx, 6
jl 0x441980
mov ebp, edi
mov esi, dword [esi]
test esi, esi
jne 0x441930
lea ebp, [esi + 8]
mov esi, dword [esp + 0x20]
xor edi, edi
jmp 0x4419a9
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
lea eax, [esp + 0x1a]
push eax
mov ecx, ebx
call fcn.004410a0
cmp dword [esp + 0x5c], ebp
mov bl, al
jb 0x4419dc
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00470259
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x441a00
mov edx, dword [esp + 0x64]
push edx
call fcn.00470259
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2b08]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2af0]
xor ecx, esp
call fcn.00470220
add esp, 0x2b00
ret