Function at 0x437c20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x493b8c
mov eax, dword fs:[0]
push eax
mov eax, 0x29f0
call fcn.004614d0
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x29ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x2a04]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a14]
mov ebx, 0xf
xor ebp, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebp
mov byte [esp + 0x64], 0
mov dword [esp + 0x2a0c], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
push 0x103
lea ecx, [esp + 0x2901]
push ebp
push ecx
mov byte [esp + 0x2a18], 1
mov byte [esp + 0x2908], 0
call fcn.00460a00
add esp, 0xc
push 0x104
lea edx, [esp + 0x2900]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x28fc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x437cd5
sub eax, edx
push eax
lea eax, [esp + 0x2900]
push eax
lea ecx, [esp + 0x4c]
call fcn.00404a30
mov eax, dword [esp + 0x58]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x437d02
call fcn.00460956
mov eax, dword [esp + 0x48]
mov edi, 0x10
cmp dword [esp + 0x5c], edi
jae 0x437d15
lea eax, [esp + 0x48]
cmp byte [eax + esi], 0x5c
je 0x437d6c
push 1
push 0x49a4f0
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
call fcn.00404a30
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2a18], 2
call fcn.00405f50
cmp dword [esp + 0x40], edi
mov byte [esp + 0x2a0c], 1
jb 0x437d6c
mov edx, dword [esp + 0x2c]
push edx
call fcn.004604e8
add esp, 4
push str.iphlpapi.dll
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00409f50
add esp, 0xc
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2a18], 3
call fcn.00404950
cmp dword [esp + 0x40], edi
mov byte [esp + 0x2a0c], 1
jb 0x437db3
mov edx, dword [esp + 0x2c]
push edx
call fcn.004604e8
add esp, 4
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x437dc1
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x20], esi
jne 0x437e0c
cmp dword [esp + 0x5c], edi
jb 0x437de5
mov eax, dword [esp + 0x48]
push eax
call fcn.004604e8
add esp, 4
cmp dword [esp + 0x78], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
jb 0x437e05
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004604e8
add esp, 4
xor al, al
jmp 0x437f22
push str.GetAdaptersInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x437ec5
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x2c], 0x2880
call eax
test eax, eax
jne 0x437ec5
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
lea eax, [esi + 8]
push eax
call fcn.00437a70
add esp, 4
xor ecx, ecx
mov edi, eax
mov dword [esp + 0x1a], ecx
mov word [esp + 0x1e], cx
nop
mov eax, dword [esp + 0x14]
lea edx, [esp + ecx + 0x1a]
mov al, byte [eax + edx]
cmp al, byte [edx]
jne 0x437e89
add ecx, 1
cmp ecx, 6
jb 0x437e70
jmp 0x437e96
cmp dword [esi + 0x1a0], 6
jne 0x437eb4
cmp ebp, edi
jle 0x437eb4
xor ecx, ecx
jmp 0x437ea0
mov dl, byte [esi + ecx + 0x194]
mov byte [ebx + ecx], dl
add ecx, 1
cmp ecx, 6
jl 0x437ea0
mov ebp, edi
mov esi, dword [esi]
test esi, esi
jne 0x437e56
lea edi, [esi + 0x10]
mov esi, dword [esp + 0x20]
xor ebp, ebp
jmp 0x437ec9
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.004375d0
cmp dword [esp + 0x5c], edi
mov bl, al
jb 0x437efc
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004604e8
add esp, 4
cmp dword [esp + 0x78], edi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
jb 0x437f20
mov edx, dword [esp + 0x64]
push edx
call fcn.004604e8
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2a04]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x29ec]
xor ecx, esp
call fcn.004604af
add esp, 0x29fc
ret