Function at 0x442b70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a651c
mov eax, dword fs:[0]
push eax
mov eax, 0x2af4
call fcn.004720d0
mov eax, dword [0x4c66b8]
xor eax, esp
mov dword [esp + 0x2af0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c66b8]
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.004714e0
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 0x442c25
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2900]
push eax
lea ecx, [esp + 0x4c]
call fcn.00409d00
mov eax, dword [esp + 0x58]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x442c56
call fcn.00471437
mov eax, dword [esp + 0x48]
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jae 0x442c69
lea eax, [esp + 0x48]
cmp word [eax + esi*2], 0x5c
je 0x442cc1
push 1
push 0x4ae764
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
call fcn.00409d00
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b1c], 2
call fcn.00409b00
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x442cc1
mov edx, dword [esp + 0x2c]
push edx
call fcn.00470fc9
add esp, 4
push str.iphlpapi.dll
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040a3f0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2b1c], 3
call fcn.00409c10
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x442d08
mov edx, dword [esp + 0x2c]
push edx
call fcn.00470fc9
add esp, 4
cmp dword [esp + 0x78], ebp
mov eax, dword [esp + 0x64]
jae 0x442d16
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 0x442d61
cmp dword [esp + 0x5c], ebp
jb 0x442d3a
mov eax, dword [esp + 0x48]
push eax
call fcn.00470fc9
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x442d5a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00470fc9
add esp, 4
xor al, al
jmp 0x442e82
push str.GetAdaptersInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x442e25
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x2c], 0x2880
call eax
test eax, eax
jne 0x442e25
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 0x442db0
lea eax, [esi + 8]
push eax
call fcn.004429c0
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 0x442de9
add ecx, 1
cmp ecx, 6
jb 0x442dd0
jmp 0x442df6
cmp dword [esi + 0x1a0], 6
jne 0x442e14
cmp ebp, edi
jle 0x442e14
xor ecx, ecx
jmp 0x442e00
mov dl, byte [esi + ecx + 0x194]
mov byte [ebx + ecx], dl
add ecx, 1
cmp ecx, 6
jl 0x442e00
mov ebp, edi
mov esi, dword [esi]
test esi, esi
jne 0x442db0
lea ebp, [esi + 8]
mov esi, dword [esp + 0x20]
xor edi, edi
jmp 0x442e29
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.00442520
cmp dword [esp + 0x5c], ebp
mov bl, al
jb 0x442e5c
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00470fc9
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x442e80
mov edx, dword [esp + 0x64]
push edx
call fcn.00470fc9
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.00470f90
add esp, 0x2b00
ret