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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x1000e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov ecx, edx
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 7
mov word [ebp - 0x134], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001915
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x134]
call fcn.10001e00
push str.SoftwareHNCSharedHancomDocs
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0
call fcn.10001f50
cmp dword [ebp - 0x120], 8
lea ecx, [ebp - 0x154]
push ecx
push 0x20019
lea eax, [ebp - 0x134]
mov dword [ebp - 0x154], 0
cmovae eax, dword [ebp - 0x134]
push 0
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001adc
push 0x104
push eax
lea eax, [ebp - 0x118]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x150], 0x104
lea eax, [ebp - 0x150]
mov dword [ebp - 0x11c], 1
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0x1000a3f8
push dword [ebp - 0x154]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x154]
test eax, eax
jne 0x10001a90
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x150]
xor eax, eax
mov dword [ebp - 0x13c], 0
mov word [ebp - 0x14c], ax
lea ecx, [ebp - 0x14c]
lea eax, [ebp - 0x118]
mov dword [ebp - 0x138], 7
push eax
call fcn.10001e00
cmp dword [ebp - 0x138], 8
lea eax, [ebp - 0x14c]
cmovae eax, dword [ebp - 0x14c]
push eax
push 0x104
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, dword [ebp - 0x138]
add esp, 0xc
cmp edx, 8
jb 0x10001b99
mov ecx, dword [ebp - 0x14c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001a82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001a82
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10007d1e
add esp, 8
mov bl, 1
jmp 0x10001a98
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov edx, dword [ebp - 0x120]
cmp edx, 8
jb 0x10001baa
mov ecx, dword [ebp - 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001ba0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001ba0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x66840
mov dword [ebp - 0x150], 0x288
call fcn.10007d2c
mov esi, eax
add esp, 4
test esi, esi
je 0x10001a96
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10001b3b
push esi
call fcn.10007ce9
mov eax, dword [ebp - 0x150]
xor ecx, ecx
mov edx, 0x288
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007d2c
mov esi, eax
add esp, 8
test esi, esi
je 0x10001a96
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10001b90
test esi, esi
je 0x10001b90
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
push esi
call fcn.10007ce9
add esp, 4
mov bl, 1
jmp 0x10001a98
push edx
push ecx
call fcn.10007d1e
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007cd8
mov esp, ebp
pop ebp
ret 8