Function at 0x1000f840
Capabilities:
Get mac address on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015323b
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x101b87d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x670], ecx
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x66c]
push eax
push 0
mov dword [ebp - 0x66c], 0
call esi
test eax, eax
je 0x1000f89b
cmp eax, 0x6f
jne 0x1000fbff
push dword [ebp - 0x66c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x674], edi
test edi, edi
je 0x1000fbff
lea eax, [ebp - 0x66c]
push eax
push edi
call esi
test eax, eax
je 0x1000f8d3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1000fbff
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [eax]
cmp dword [edi + 0x190], 6
jb 0x1000fbb1
lea eax, [ebp - 0x664]
mov dword [ebp - 0x67c], 0x104
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x680], 1
mov dword [ebp - 0x664], 0
mov dword [ebp - 0x668], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000f93e
xor al, al
jmp 0x1000fa3e
lea edx, [edi + 8]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x678], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f950
sub ecx, dword [ebp - 0x678]
lea eax, [ebp - 0x218]
push 0x82
push eax
lea eax, [ecx + 1]
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x424]
push str._sConnection_
push eax
call fcn.10013350
add esp, 0xc
lea eax, [ebp - 0x668]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x664]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000f9c4
push dword [ebp - 0x664]
call esi
xor al, al
jmp 0x1000fa3e
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x680]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x668]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000fa04
push dword [ebp - 0x668]
call esi
push dword [ebp - 0x664]
call esi
xor al, al
jmp 0x1000fa3e
push 3
lea eax, [ebp - 0x630]
push 0x1018c928
push eax
call fcn.1010e4d7
add esp, 0xc
push dword [ebp - 0x668]
test eax, eax
je 0x1000fa32
call esi
push dword [ebp - 0x664]
call esi
xor al, al
jmp 0x1000fa3e
call esi
push dword [ebp - 0x664]
call esi
mov al, 1
test al, al
je 0x1000fbb1
xor eax, eax
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 7
mov word [ebp - 0x648], ax
mov dword [ebp - 4], eax
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x660]
push 0x1018c9fc
push eax
call fcn.1000dbf0
mov esi, eax
add esp, 0x20
lea eax, [ebp - 0x648]
cmp eax, esi
je 0x1000fae7
mov ecx, eax
call fcn.10011df0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x648], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x638], xmm0
mov word [esi], ax
mov edx, dword [ebp - 0x64c]
cmp edx, 8
jb 0x1000fb27
mov ecx, dword [ebp - 0x660]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fb1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fc1a
push edx
push ecx
call fcn.100bcd6c
add esp, 8
cmp dword [ebp - 0x634], 8
lea ecx, [ebp - 0x648]
mov esi, dword [ebp - 0x648]
mov edx, dword [ebp - 0x638]
cmovae ecx, esi
push 0x11
push str.00_00_00_00_00_00
call fcn.100137e0
add esp, 8
test eax, eax
je 0x1000fb6e
mov ecx, dword [ebp - 0x670]
lea eax, [ebp - 0x648]
push eax
call fcn.100100a0
mov esi, dword [ebp - 0x648]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x634]
cmp eax, 8
jb 0x1000fbab
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000fba1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fc1a
push ecx
push esi
call fcn.100bcd6c
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [edi]
test edi, edi
jne 0x1000f8e0
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x670]
mov esi, dword [eax + 4]
mov ecx, esi
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x1000fbff
push dword [ebp - 0x674]
mov edx, esi
mov ecx, edi
push eax
call fcn.10014fa0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bcd31
mov esp, ebp
pop ebp
ret
call fcn.100fb4d6
int3