Function at 0x437870
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x46bf39
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483260]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x64]
mov ecx, dword [edi]
mov esi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebp
lea eax, [ecx - 0x10]
je 0x4378f3
cmp dword [eax + 0xc], ebp
lea edx, [eax + 0xc]
jge 0x4378cf
cmp dword [ecx - 8], ebp
jge 0x4378c5
push 0x80070057
call fcn.00403221
mov dword [ecx - 0xc], ebp
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x4378f3
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4378e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00437e60
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x60], ebp
call fcn.00437620
add esp, 4
test eax, eax
jne 0x437967
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x437938
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x48]
push ecx
call fcn.00438ad0
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call fcn.0043b0f8
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.0043b0f8
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 0x4379af
lea esi, [esp + 0x38]
call fcn.00437ec0
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 ecx, [esp + 0x1c]
push ecx
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4379df
push ebx
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x1c]
push edx
push ebp
call edi
push eax
call esi
mov dword [esp + 0x28], eax
cmp eax, ebp
je 0x437990
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x2c], 1
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x437c55
mov esi, ebx
cmp ebx, ebp
je 0x437c64
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x48]
jbe 0x437a13
call fcn.00440b25
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
nop
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x44], edi
jbe 0x437a2f
call fcn.00440b25
test ebp, ebp
je 0x437a39
cmp ebp, dword [esp + 0x38]
je 0x437a3e
call fcn.00440b25
cmp dword [esp + 0x34], edi
je 0x437c43
cmp dword [esi + 0x190], 6
jne 0x437aab
lea edx, [esp + 0x2c]
lea ecx, [esi + 8]
push edx
call fcn.00437dd0
mov byte [esp + 0x5c], 1
or dword [esp + 0x18], 1
mov edi, dword [eax]
test ebp, ebp
jne 0x437aa6
call fcn.00440b25
xor eax, eax
mov ebx, dword [esp + 0x34]
cmp ebx, dword [eax + 0x10]
jb 0x437a83
call fcn.00440b25
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x437cc9
mov eax, dword [ebx]
push edi
push eax
call fcn.0043f6e9
add esp, 8
test eax, eax
jne 0x437aab
mov bl, 1
jmp 0x437aad
mov eax, dword [ebp]
jmp 0x437a75
xor bl, bl
mov dword [esp + 0x5c], 0
test byte [esp + 0x18], 1
je 0x437ae1
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 0x437ae1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x437c17
mov eax, dword [esi + 0x1a0]
xor ebx, ebx
cmp eax, 0x47
jne 0x437afb
lea ebx, [eax - 0x46]
jmp 0x437b31
cmp eax, 6
jne 0x437c17
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.wifi
lea edi, [esi + 0x10c]
push edi
call ebp
test eax, eax
jne 0x437b28
push str.wireless
push edi
call ebp
test eax, eax
je 0x437b2d
mov ebx, 1
mov ebp, dword [esp + 0x30]
cmp dword [esp + 0x24], 0
jne 0x437b40
test ebx, ebx
jne 0x437c17
mov edx, dword [0x485f6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x485f6c
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.00434f80
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov ebp, dword [esp + 0x3c]
add esp, 0x1c
cmp dword [eax - 0xc], 0
je 0x437bd8
cmp dword [esp + 0x24], 1
jne 0x437bbb
test ebx, ebx
je 0x437bd8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x437cc9
push eax
push ebp
call fcn.00464585
add esp, 8
test eax, eax
jge 0x437be5
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x20]
call fcn.00438090
xor edx, edx
test ebx, ebx
setne dl
lea eax, [ebp - 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 0x437c13
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 0x437c3e
call fcn.00440b25
xor eax, eax
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x10]
jb 0x437c30
call fcn.00440b25
add dword [esp + 0x34], 4
mov ebx, dword [esp + 0x28]
jmp 0x437a20
mov eax, dword [ebp]
jmp 0x437c22
mov esi, dword [esi]
test esi, esi
jne 0x437a04
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor ebp, ebp
cmp ebx, ebp
je 0x437c64
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 0x437c9a
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x48]
push edx
call fcn.00438ad0
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.0043b0f8
add esp, 4
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.0043b0f8
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.00403221
int3