Function at 0x462dc0
Capabilities:
Contain obfuscated stackstrings
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8068
call fcn.00494470
mov eax, dword [0x5142b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1fffc
push 1
mov dword [ebp - 0x8060], esi
mov dword [ebp - 0x8054], edi
mov dword [ebp - 0x8064], ebx
mov dword [ebp - 0x8058], eax
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x62613938
mov dword [ebp - 8], 0x66656463
call fcn.00491e51
push 0x1fffc
push 1
mov dword [esi], eax
call fcn.00491e51
push 0x1fffc
push 1
mov dword [edi], eax
call fcn.00491e51
mov ecx, dword [ebp - 0x8058]
push 0x1fffc
push 1
mov dword [ecx], eax
call fcn.00491e51
add esp, 0x20
lea edx, [ebp - 0x805c]
push edx
push 0
mov dword [ebx], eax
mov dword [ebp - 0x805c], 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, eax
test esi, esi
je 0x462e9f
cmp esi, 0x6f
je 0x462e9f
push esi
push str.GetMACandIPAddress_:_GetAdaptersInfo_sizing_failed_with_error__d_n
call fcn.00423ad0
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x805c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [ebp - 0x8068], ebx
test ebx, ebx
jne 0x462ede
push str.GetMACandIPAddress_:_Memory_allocation_error_n
call fcn.00423ad0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x805c]
push ecx
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, eax
test esi, esi
je 0x462f12
push esi
push str.GetMACandIPAddress_:_GetAdaptersInfo_failed_with_error__d_n
call fcn.00423ad0
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x8050], ebx
jmp 0x462f26
mov ebx, dword [ebp - 0x8050]
mov esi, dword [ebx + 0x190]
lea edx, [ebx + 0x1ac]
xor eax, eax
mov dword [ebp - 0x804c], edx
test esi, esi
je 0x462f65
mov edi, edi
movzx ecx, byte [ebx + eax + 0x194]
mov edx, ecx
shr edx, 4
mov dl, byte [ebp + edx - 0x14]
and ecx, 0xf
mov cl, byte [ebp + ecx - 0x14]
mov byte [ebp + eax*2 - 0x48], dl
mov byte [ebp + eax*2 - 0x47], cl
inc eax
cmp eax, esi
jb 0x462f40
lea esi, [eax + eax]
xor ecx, ecx
xor edx, edx
test esi, esi
je 0x462fa1
lea edi, [esi - 1]
movzx eax, byte [ebp + edx - 0x48]
mov byte [ebp + ecx - 0x8048], al
movzx eax, byte [ebp + edx - 0x47]
inc edx
inc ecx
mov byte [ebp + ecx - 0x8048], al
cmp edx, edi
jae 0x462f9c
mov byte [ebp + ecx - 0x8047], 0x3a
add ecx, 2
inc edx
cmp edx, esi
jb 0x462f73
cmp dword [ebp - 0x804c], 0
mov byte [ebp + ecx - 0x8047], 0
je 0x463194
jmp 0x462fc0
mov ebx, dword [ebp - 0x804c]
mov eax, dword [ebp - 0x804c]
mov ecx, dword [eax + 0x24]
mov edi, dword [ebp - 0x8050]
mov edx, dword [edi + 0x19c]
add ebx, 0x14
push ebx
lea esi, [eax + 4]
push esi
push ecx
push edx
push str.__10.d__10.d__20.20s_s_n
call fcn.0048f0ab
mov eax, dword [ebp - 0x804c]
mov ecx, dword [eax + 0x24]
mov edx, dword [edi + 0x19c]
push ebx
push esi
push ecx
push edx
push str.ipAddress_:__10.d__10.d__20.20s_s_n
call fcn.00423db0
push str.0.0.0.0
push esi
call fcn.00493c91
add esp, 0x30
test eax, eax
je 0x463112
mov eax, dword [ebp - 0x8060]
mov edx, dword [eax]
test edx, edx
je 0x463054
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x463033
sub eax, edi
cmp eax, 2
jbe 0x463054
push 0x4fbcc0
push 0x7fff
push edx
call fcn.00492be6
add esp, 0xc
mov ecx, dword [ebp - 0x8060]
mov edx, dword [ecx]
push esi
push 0x7fff
push edx
call fcn.00492be6
lea eax, [ebp - 0x8048]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x463074
sub eax, edx
cmp eax, 0x11
jne 0x4630cb
mov edi, dword [ebp - 0x8054]
mov edx, dword [edi]
test edx, edx
je 0x4630b4
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x463093
sub eax, esi
cmp eax, 2
jb 0x4630b4
push 0x4fbcc0
push 0x7fff
push edx
call fcn.00492be6
add esp, 0xc
mov ecx, dword [edi]
lea eax, [ebp - 0x8048]
push eax
push 0x7fff
push ecx
call fcn.00492be6
add esp, 0xc
mov edi, dword [ebp - 0x8064]
mov edx, dword [edi]
test edx, edx
je 0x463101
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4630e0
sub eax, esi
cmp eax, 2
jbe 0x463101
push 0x4fbcc0
push 0x7fff
push edx
call fcn.00492be6
add esp, 0xc
mov edx, dword [edi]
push ebx
push 0x7fff
push edx
call fcn.00492be6
add esp, 0xc
lea eax, [ebp - 0x8048]
lea edx, [eax + 1]
jmp 0x463120
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x463120
sub eax, edx
cmp eax, 0x11
jne 0x463178
mov edi, dword [ebp - 0x8058]
mov edx, dword [edi]
test edx, edx
je 0x463161
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x463140
sub eax, esi
cmp eax, 2
jb 0x463161
push 0x4fbcc0
push 0x7fff
push edx
call fcn.00492be6
add esp, 0xc
mov ecx, dword [edi]
lea eax, [ebp - 0x8048]
push eax
push 0x7fff
push ecx
call fcn.00492be6
add esp, 0xc
mov edx, dword [ebp - 0x804c]
mov eax, dword [edx]
mov dword [ebp - 0x804c], eax
test eax, eax
jne 0x462fc0
mov ebx, dword [ebp - 0x8050]
mov ebx, dword [ebx]
mov dword [ebp - 0x8050], ebx
test ebx, ebx
jne 0x462f20
mov edi, dword [ebp - 0x8054]
mov edx, dword [edi]
test edx, edx
je 0x4631c0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4631b5
sub eax, esi
jne 0x4631ee
mov ax, word [0x4d0a18]
mov cl, byte [0x4d0a1a]
mov word [ebp - 0x8048], ax
lea eax, [ebp - 0x8048]
push eax
push 0x7fff
push edx
mov byte [ebp - 0x8046], cl
call fcn.00492be6
add esp, 0xc
mov ecx, dword [ebp - 0x8068]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [edi]
push edx
push str.GetMACandIPAddress_:_Local_Machine_MAC_ADDRESS_:__s__n
call fcn.00423960
mov eax, dword [ebp - 0x8058]
mov ecx, dword [eax]
push ecx
push str.GetMACandIPAddress_:_Local_Machine_all_MAC_ADDRESS_:__s__n
call fcn.00423960
mov edx, dword [ebp - 0x8060]
mov eax, dword [edx]
push eax
push str.GetMACandIPAddress_:_Local_Machine_IP_ADDRESS__:__s__n
call fcn.00423960
mov ecx, dword [ebp - 0x8064]
mov edx, dword [ecx]
push edx
push str.GetMACandIPAddress_:_Local_Machine_Subnet_Mask_:__s__n
call fcn.00423960
mov ecx, dword [ebp - 4]
add esp, 0x20
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0048ed61
mov esp, ebp
pop ebp
ret