Function at 0x413810
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x196c
call fcn.00423460
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x1968], eax
mov eax, dword [esp + 0x1970]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [ecx], eax
push esi
mov dword [esp + 0x14], ecx
mov dword [ecx + 4], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
xor esi, esi
mov dword [esp + 0x20], 0x1950
call fcn.0042854a
test eax, eax
jne 0x413a4d
push ebx
push ebp
lea ebp, [esp + 0x24]
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
mov eax, dword [ebp + 0x190]
cmp eax, 8
mov ecx, eax
jb 0x413885
mov ecx, 8
mov edx, dword [esp + 0x1c]
add edx, 0x20
cmp ecx, 4
lea ebx, [ebp + 0x194]
mov esi, ebx
jb 0x4138b4
lea esp, [esp]
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x4138b8
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4138a0
test ecx, ecx
je 0x41391d
movzx edi, byte [esi]
movzx ebp, byte [edx]
sub edi, ebp
jne 0x413907
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x413919
movzx edi, byte [esi]
movzx ebp, byte [edx]
sub edi, ebp
jne 0x413907
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x413919
movzx edi, byte [esi]
movzx ebp, byte [edx]
sub edi, ebp
jne 0x413907
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x413919
movzx edi, byte [esi]
movzx ecx, byte [edx]
sub edi, ecx
je 0x413919
test edi, edi
mov ebp, dword [esp + 0x14]
mov ecx, 1
jg 0x41391f
or ecx, 0xffffffff
jmp 0x41391f
mov ebp, dword [esp + 0x14]
xor ecx, ecx
test ecx, ecx
je 0x4139f7
mov edx, dword [esp + 0x1984]
test edx, edx
je 0x4139c0
test eax, eax
je 0x4139c0
cmp eax, 4
mov ecx, ebx
jb 0x413959
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x41395d
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x413945
test eax, eax
je 0x4139ba
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4139ac
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4139ba
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4139ac
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4139ba
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4139ac
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4139ba
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x4139ba
test esi, esi
mov eax, 1
jg 0x4139bc
or eax, 0xffffffff
jmp 0x4139bc
xor eax, eax
test eax, eax
je 0x413a15
lea ebx, [ebp + 0x10c]
test ebx, ebx
je 0x4139ec
mov edi, dword [esp + 0x1c]
xor esi, esi
add edi, 0x28
mov eax, dword [edi]
push eax
push ebx
call dword [0x42b248]
test eax, eax
jne 0x413a08
add esi, 1
add edi, 4
cmp esi, 2
jb 0x4139d3
cmp dword [esp + 0x10], 0
jne 0x4139f7
mov dword [esp + 0x10], ebp
mov ebp, dword [ebp]
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x413873
jmp 0x413a19
cmp dword [esp + 0x18], 0
jne 0x4139f7
mov dword [esp + 0x18], ebp
jmp 0x4139f7
mov dword [esp + 0x10], ebp
cmp dword [esp + 0x10], 0
pop edi
pop ebp
pop ebx
jne 0x413a2f
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 4], eax
je 0x413a4d
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x190]
mov edx, dword [esp + 0x14]
push ecx
add eax, 0x194
push eax
push edx
call fcn.00419ac0
add esp, 0xc
mov ecx, dword [esp + 0x196c]
pop esi
xor ecx, esp
call fcn.00416130
add esp, 0x196c
ret 8