Function at 0x1003490d
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x700
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x700], eax
push 0x90
mov eax, 0x100bed1a
call fcn.10092efa
mov edi, ecx
push str._____RaWLAPI__MS80211::RenewIPAddr_n
push 3
mov dword [ebp - 0x28], edi
call fcn.1000926a
push str._____RC__RaWLAPI__ReleaseIpAddress_n
push 3
call fcn.1000926a
add esp, 0x10
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x1c]
call fcn.10004d63
xor esi, esi
mov dword [ebp - 4], esi
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x24]
call fcn.10004d63
push pe_nt_image_headers32
lea eax, [ebp + 0x480]
push esi
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], esi
call fcn.1008ef90
lea eax, [ebp - 0x34]
push eax
call fcn.10009e6a
add esp, 0x10
cmp dword [ebp - 0x34], 0xb
jl 0x100349d5
add edi, 0x84
push edi
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
lea eax, [ebp + 0x200]
push 0x100cda14
push eax
call fcn.1008e5f7
add esp, 0x10
push str.NetCfgInstanceId
lea eax, [ebp + 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x680]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x400]
push eax
lea eax, [ebp + 0x200]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], 0x80
call fcn.1000b244
add esp, 0x18
cmp eax, 1
jne 0x10035034
lea eax, [ebp + 0x680]
push eax
lea eax, [ebp - 0x24]
push str.DEVICETCPIP__s
push eax
call fcn.10005cfd
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
add esp, 0xc
mov esi, 0x288
push esi
push 0x42
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
je 0x10034a7f
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
push 0x42
call edi
push eax
call ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x10034a9d
push str._RC__RaWLAPI__Call_to_GetAdaptersInfo_failed._n
push 1
call fcn.1000926a
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x10034b03
lea eax, [ebp + 0x680]
push eax
mov eax, dword [ebp - 0x18]
add eax, 8
push eax
call fcn.1008eb30
pop ecx
test eax, eax
mov eax, dword [ebp - 0x18]
pop ecx
je 0x10034ace
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x10034aa7
jmp 0x10034aeb
mov ecx, dword [eax + 0x1a4]
push ecx
add eax, 8
push eax
push str._RaWLAPI__uDHCPEnabled_of_Adapter__s____d_n
push 3
mov dword [ebp - 0x2c], ecx
call fcn.1000926a
add esp, 0x10
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 0x108
push eax
push 0x42
mov dword [ebp - 0x14], eax
call edi
push eax
call ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x10], eax
call sub.iphlpapi.dll_GetInterfaceInfo
cmp eax, 0x7a
jne 0x10034b4a
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
push 0x42
call edi
push eax
call ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call sub.iphlpapi.dll_GetInterfaceInfo
test eax, eax
jne 0x10034da2
and dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jle 0x10034da2
add eax, 8
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
push pe_nt_image_headers32
lea ecx, [ebp + 0x480]
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x18]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0x480]
push eax
push dword [ebp - 0x24]
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
jne 0x10034d8a
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push str._RaWLAPI__MS80211::RenewIPAddr_:_To_release_Ip_Address_of_Adapter_:__s__n
push eax
call fcn.10005cfd
push dword [ebp - 0x1c]
push 3
call fcn.1000926a
add esp, 0x14
cmp dword [ebp - 0x2c], 1
jne 0x10034d6f
push 0x100cdb5f
lea ecx, [ebp - 0x38]
call fcn.10007f0d
push 0x80
lea eax, [ebp + 0x580]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.1008ef90
add esp, 0xc
push 0xfa
lea eax, [ebp + 0x580]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [ebp - 0x28]
add eax, 0x1cc
push eax
push 0x1011c8cc
mov dword [ebp - 0x30], 0x200
call fcn.1008eb30
pop ecx
test eax, eax
mov eax, dword [ebp - 0x28]
pop ecx
jne 0x10034c3a
add eax, 0x1cc
push eax
push str._RaWLAPI__MS80211::RenewIPAddr_curAdapter.NetCfgInstanceId__gVar.selectedAdaptper.NetCfgInstanceId___s_n
jmp 0x10034c45
add eax, 0x1cc
push eax
push str._RaWLAPI__MS80211::RenewIPAddr_curAdapter.NetCfgInstanceId___s_n
push 3
call fcn.1000926a
mov eax, dword [ebp - 0x28]
add eax, 0x1cc
push eax
lea eax, [ebp]
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push eax
call fcn.1008e5f7
add esp, 0x18
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x300]
push eax
lea eax, [ebp - 0x58]
push eax
push str.Name
lea eax, [ebp]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1000b244
push 0x80
lea eax, [ebp + 0x600]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp + 0x300]
push eax
lea eax, [ebp + 0x580]
push eax
lea eax, [ebp + 0x600]
push str._sSystem32ipconfig.exe__release___s_
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x600]
push eax
push str._RaWLAPI__MS80211::RenewIPAddr_____CreateProcess__s__n
push 3
call fcn.1000926a
add esp, 0x40
push 0x44
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.1008ef90
push 0x10
lea eax, [ebp - 0x4c]
push 0
push eax
mov dword [ebp - 0x9c], 0x44
call fcn.1008ef90
add esp, 0x18
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x8000000
push eax
push eax
push eax
lea ecx, [ebp + 0x600]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10034d5e
push 0x2710
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._RaWLAPI__MS80211::RenewIPAddr_____CloseHandle_proc.hProcess__n
push 3
call fcn.1000926a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001210
jmp 0x10034d8a
lea eax, [ebp - 0x1c]
push str._RaWLAPI__To_release_Ip_Address_of_failed_uDHCPEnableds__0_n
push eax
call fcn.10005cfd
push dword [ebp - 0x1c]
push 1
call fcn.1000926a
add esp, 0x10
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0x18], 0x104
cmp ecx, dword [eax]
jl 0x10034b73
cmp dword [ebp - 0x10], 0
je 0x10034dc0
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x100dfcf0
push 3
call fcn.1000926a
push str._____RC__RaWLAPI__RenewIpAddress_n
push 3
call fcn.1000926a
add esp, 0x10
push 0x288
push 0x42
call edi
push eax
call ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x288
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x10034e24
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
push 0x42
call edi
push eax
call ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x10034e3d
push str._RaWLAPI__Call_to_GetAdaptersInfo_failed._n
push 1
jmp 0x10034e44
push str._RaWLAPI__Call_to_GetAdaptersInfo_NO_ERROR._n
push 3
call fcn.1000926a
mov eax, dword [ebp - 0x10]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
je 0x10034ebf
lea eax, [ebp + 0x680]
push eax
mov eax, dword [ebp - 0x18]
add eax, 8
push eax
call fcn.1008eb30
pop ecx
test eax, eax
mov eax, dword [ebp - 0x18]
pop ecx
je 0x10034e7c
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x10034e55
jmp 0x10034e99
mov ecx, dword [eax + 0x1a4]
push ecx
add eax, 8
push eax
push str._RaWLAPI___s_:_uDHCPEnabled___d_n
push 3
mov dword [ebp - 0x2c], ecx
call fcn.1000926a
add esp, 0x10
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push str._RaWLAPI______pAdapterInfo__NULL_n
push 3
call fcn.1000926a
pop ecx
pop ecx
mov eax, 0x108
push eax
push 0x42
mov dword [ebp - 0x14], eax
call edi
push eax
call ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x10], eax
call sub.iphlpapi.dll_GetInterfaceInfo
cmp eax, 0x7a
jne 0x10034f07
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
push 0x42
call edi
push eax
call ebx
mov edi, eax
jmp 0x10034f0a
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push edi
call sub.iphlpapi.dll_GetInterfaceInfo
test eax, eax
jne 0x10034fe6
push str._RaWLAPI__GetInterfaceInfo_pInfo__ulOutBufLen___NO_ERROR_n
push 3
call fcn.1000926a
and dword [ebp - 0x20], 0
cmp dword [edi], 0
pop ecx
pop ecx
jle 0x10034fe6
lea ebx, [edi + 4]
xor eax, eax
push eax
push eax
push pe_nt_image_headers32
lea ecx, [ebp + 0x480]
push ecx
push 0xffffffffffffffff
lea ecx, [ebx + 4]
push ecx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0x480]
push eax
push dword [ebp - 0x24]
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
jne 0x10034fd2
push dword [ebp - 0x24]
push str._RaWLAPI__strAdapterName__chAdapterName___s_n
push 3
call fcn.1000926a
add esp, 0xc
cmp dword [ebp - 0x2c], 1
jne 0x10034fb0
push ebx
call sub.iphlpapi.dll_IpRenewAddress
test eax, eax
lea eax, [ebp + 0x680]
push eax
jne 0x10034f9f
push str._RC__RaWLAPI__To_renew_Ip_Address_of__s_succeeded._n
push 3
jmp 0x10034fa6
push str._RC__RaWLAPI__To_renew_Ip_Address_1_times_failed._n
push 1
call fcn.1000926a
add esp, 0xc
jmp 0x10034fd2
lea eax, [ebp + 0x680]
push eax
lea eax, [ebp - 0x1c]
push str._RC__RaWLAPI___To_renew_Ip_Address_of__s_failed_uDHCPEnableds__0_n
push eax
call fcn.10005cfd
push dword [ebp - 0x1c]
push 3
call fcn.1000926a
add esp, 0x14
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add ebx, 0x104
cmp eax, dword [edi]
jl 0x10034f3a
test edi, edi
je 0x10034ffe
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x100dfb10
push 3
call fcn.1000926a
push 0x100dfaec
push 3
call fcn.1000926a
mov ecx, dword [ebp - 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001210
xor eax, eax
inc eax
jmp 0x10035067
push str._____RC__RaWLAPI__Failed_to_releaseIpAddress_n
push 1
call fcn.1000926a
push str._____RC__RaWLAPI__RenewIPAddr_n
push 1
call fcn.1000926a
mov ecx, dword [ebp - 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001210
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x700]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0x704
leave
ret
cmp byte [0x1011c700], 0
jne 0x10057bac
xor eax, eax
ret
push esi
mov esi, 0x1011c88c
push esi
call fcn.10001272
test eax, eax
pop ecx
je 0x10057bc8
push esi
call fcn.10001b5e
test eax, eax
pop ecx
jne 0x10057bcc
xor eax, eax
pop esi
ret
mov ecx, dword [0x1011cc1c]
pop esi
jmp 0x1003490d