Function at 0x42e110
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4f19
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3bd0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x18], ebp
call fcn.0042af30
lea eax, [esp + 0x38]
push eax
call fcn.0042e6b0
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x60], ebp
call fcn.0042dec0
add esp, 4
test eax, eax
jne 0x42e1b2
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x42e183
mov edi, dword [esp + 0x48]
call fcn.0042e970
mov edx, dword [esp + 0x44]
push edx
call fcn.00472af9
add esp, 4
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.00472af9
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x288
push ebp
mov dword [esp + 0x24], 0x288
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov ebx, eax
mov dword [esp + 0x28], ebx
cmp ebx, ebp
jne 0x42e228
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x42e1f9
mov edi, dword [esp + 0x48]
call fcn.0042e970
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00472af9
add esp, 4
mov edx, dword [esp + 0x38]
push edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.00472af9
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea eax, [esp + 0x1c]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x42e277
push ebx
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
call edi
push eax
call esi
mov dword [esp + 0x28], eax
cmp eax, ebp
jne 0x42e275
lea esi, [esp + 0x38]
call fcn.0042e710
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebx, eax
lea edx, [esp + 0x1c]
push edx
push ebx
mov dword [esp + 0x2c], 1
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42e4eb
mov esi, ebx
cmp ebx, ebp
je 0x42e4fa
lea esp, [esp]
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x48]
jbe 0x42e2af
call fcn.00476717
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
jmp 0x42e2c0
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x44], edi
jbe 0x42e2cf
call fcn.00476717
test ebp, ebp
je 0x42e2d9
cmp ebp, dword [esp + 0x38]
je 0x42e2de
call fcn.00476717
cmp dword [esp + 0x34], edi
je 0x42e4d9
cmp dword [esi + 0x190], 6
jne 0x42e34b
lea eax, [esp + 0x2c]
lea ecx, [esi + 8]
push eax
call fcn.0042e620
mov byte [esp + 0x5c], 1
or dword [esp + 0x18], 1
mov edi, dword [eax]
test ebp, ebp
jne 0x42e346
call fcn.00476717
xor eax, eax
mov ebx, dword [esp + 0x34]
cmp ebx, dword [eax + 0x10]
jb 0x42e323
call fcn.00476717
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x42e557
mov eax, dword [ebx]
push edi
push eax
call fcn.004756c6
add esp, 8
test eax, eax
jne 0x42e34b
mov bl, 1
jmp 0x42e34d
mov eax, dword [ebp]
jmp 0x42e315
xor bl, bl
mov dword [esp + 0x5c], 0
test byte [esp + 0x18], 1
je 0x42e381
mov eax, dword [esp + 0x2c]
and dword [esp + 0x18], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e381
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42e4ad
mov eax, dword [esi + 0x1a0]
xor ebp, ebp
cmp eax, 0x47
je 0x42e3c3
cmp eax, 6
jne 0x42e4a9
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.wifi
lea edi, [esi + 0x10c]
push edi
call ebx
test eax, eax
jne 0x42e3c3
push str.wireless
push edi
call ebx
test eax, eax
je 0x42e3c8
mov ebp, 1
cmp dword [esp + 0x24], 0
jne 0x42e3d7
test ebp, ebp
jne 0x42e4a9
mov edx, dword [0x4f9e00]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f9e00
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x5c], 2
movzx ecx, byte [esi + 0x199]
movzx edx, byte [esi + 0x198]
movzx eax, byte [esi + 0x197]
push ecx
movzx ecx, byte [esi + 0x196]
push edx
movzx edx, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push ecx
push edx
push eax
push str._02X_02X_02X_02X_02X_02X
lea edi, [esp + 0x3c]
call fcn.0042bbd0
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
add esp, 0x1c
cmp dword [eax - 0xc], 0
je 0x42e46f
cmp dword [esp + 0x24], 1
jne 0x42e452
test ebp, ebp
je 0x42e46f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42e557
push eax
push edi
call fcn.0047c281
add esp, 8
test eax, eax
jge 0x42e47b
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0042e7d0
xor edx, edx
test ebp, ebp
setne dl
lea eax, [edi - 0x10]
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], edx
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e4a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x30]
test ebp, ebp
jne 0x42e4d4
call fcn.00476717
xor eax, eax
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x10]
jb 0x42e4c6
call fcn.00476717
add dword [esp + 0x34], 4
mov ebx, dword [esp + 0x28]
jmp 0x42e2c0
mov eax, dword [ebp]
jmp 0x42e4b8
mov esi, dword [esi]
test esi, esi
jne 0x42e2a0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor ebp, ebp
cmp ebx, ebp
je 0x42e4fa
push ebx
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
xor ecx, ecx
cmp dword [eax - 0xc], ebp
mov eax, dword [esp + 0x44]
setne cl
mov esi, ecx
cmp eax, ebp
je 0x42e528
mov edi, dword [esp + 0x48]
call fcn.0042e970
mov edx, dword [esp + 0x44]
push edx
call fcn.00472af9
add esp, 4
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.00472af9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push 0x80004005
call fcn.00402987
int3