Function at 0x41db40
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d4e9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be8a0]
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.0041a940
lea eax, [esp + 0x38]
push eax
call fcn.0041e0e0
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x60], ebp
call fcn.0041d8f0
add esp, 4
test eax, eax
jne 0x41dbe2
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x41dbb3
mov edi, dword [esp + 0x48]
call fcn.0041e3a0
mov edx, dword [esp + 0x44]
push edx
call fcn.00463780
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.00463780
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 0x41dc58
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x41dc29
mov edi, dword [esp + 0x48]
call fcn.0041e3a0
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00463780
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.00463780
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 0x41dca7
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 0x41dca5
lea esi, [esp + 0x38]
call fcn.0041e140
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 0x41df1b
mov esi, ebx
cmp ebx, ebp
je 0x41df2a
lea esp, [esp]
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x48]
jbe 0x41dcdf
call fcn.00467a2e
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
jmp 0x41dcf0
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x44], edi
jbe 0x41dcff
call fcn.00467a2e
test ebp, ebp
je 0x41dd09
cmp ebp, dword [esp + 0x38]
je 0x41dd0e
call fcn.00467a2e
cmp dword [esp + 0x34], edi
je 0x41df09
cmp dword [esi + 0x190], 6
jne 0x41dd7b
lea eax, [esp + 0x2c]
lea ecx, [esi + 8]
push eax
call fcn.0041e050
mov byte [esp + 0x5c], 1
or dword [esp + 0x18], 1
mov edi, dword [eax]
test ebp, ebp
jne 0x41dd76
call fcn.00467a2e
xor eax, eax
mov ebx, dword [esp + 0x34]
cmp ebx, dword [eax + 0x10]
jb 0x41dd53
call fcn.00467a2e
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x41df87
mov eax, dword [ebx]
push edi
push eax
call fcn.00467c8a
add esp, 8
test eax, eax
jne 0x41dd7b
mov bl, 1
jmp 0x41dd7d
mov eax, dword [ebp]
jmp 0x41dd45
xor bl, bl
mov dword [esp + 0x5c], 0
test byte [esp + 0x18], 1
je 0x41ddb1
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 0x41ddb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41dedd
mov eax, dword [esi + 0x1a0]
xor ebp, ebp
cmp eax, 0x47
je 0x41ddf3
cmp eax, 6
jne 0x41ded9
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.wifi
lea edi, [esi + 0x10c]
push edi
call ebx
test eax, eax
jne 0x41ddf3
push str.wireless
push edi
call ebx
test eax, eax
je 0x41ddf8
mov ebp, 1
cmp dword [esp + 0x24], 0
jne 0x41de07
test ebp, ebp
jne 0x41ded9
mov edx, dword [0x4c4f30]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c4f30
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.0041b510
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
add esp, 0x1c
cmp dword [eax - 0xc], 0
je 0x41de9f
cmp dword [esp + 0x24], 1
jne 0x41de82
test ebp, ebp
je 0x41de9f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41df87
push eax
push edi
call fcn.0046d527
add esp, 8
test eax, eax
jge 0x41deab
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0041e200
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 0x41ded9
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 0x41df04
call fcn.00467a2e
xor eax, eax
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x10]
jb 0x41def6
call fcn.00467a2e
add dword [esp + 0x34], 4
mov ebx, dword [esp + 0x28]
jmp 0x41dcf0
mov eax, dword [ebp]
jmp 0x41dee8
mov esi, dword [esi]
test esi, esi
jne 0x41dcd0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor ebp, ebp
cmp ebx, ebp
je 0x41df2a
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 0x41df58
mov edi, dword [esp + 0x48]
call fcn.0041e3a0
mov edx, dword [esp + 0x44]
push edx
call fcn.00463780
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.00463780
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.0040253a
int3