Function at 0x415480
Capabilities:
Get mac address on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4233ab
push eax
mov eax, 0x1e74
mov dword fs:[0], esp
call fcn.00421e60
push ebx
push ebp
push esi
mov dword [esp + 0x48], ecx
push edi
mov edi, 0x42c4c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x1e94]
not ecx
dec ecx
push ecx
push 0x42c4c0
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov al, byte [esp + 0x13]
xor ebp, ebp
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov al, byte [esp + 0x1e98]
mov dword [esp + 0x1e8c], ebp
test al, al
je 0x41570b
call fcn.00419a90
mov ebx, eax
cmp dword [ebx + 0xc], ebp
je 0x41570b
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.filter_size
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.filter_size
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e90], 1
mov byte [esp + 0x18], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.filter_peerid
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.filter_peerid
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [esp + 0x3c]
push ebp
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x1e98], 2
call fcn.0041a000
mov edi, eax
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], edi
mov byte [esp + 0x1e90], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e90], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
test edi, edi
jbe 0x41570b
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x42c4c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x42c4c0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e90], 3
mov byte [esp + 0x40], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.filter_peerid
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.filter_peerid
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x64]
push ebp
push ecx
mov byte [esp + 0x1e94], 4
call fcn.0041d320
push eax
lea edx, [esp + 0x78]
push str.filter
push edx
mov byte [esp + 0x1e98], 5
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
push ecx
push eax
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x1e9c], 6
call fcn.00419b20
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e90], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x1e90], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e90], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e90], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esp + 0x5c], 0xc
jne 0x4156ea
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x54]
push ecx
push 1
push edx
lea ecx, [esp + 0x38]
call fcn.00410090
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e90], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jb 0x4155c3
lea eax, [esp + 0x50]
lea ecx, [esp + 0x84]
lea ebx, [esp + 0x84]
push eax
push ecx
mov dword [esp + 0x58], 0x1e00
mov dword [esp + 0x30], ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x415ac5
lea edx, [esp + 0x84]
test edx, edx
je 0x415ac5
mov dword [esp + 0x24], 1
jmp 0x415755
mov ebx, dword [esp + 0x28]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
lea ebp, [ebx + 0x10c]
mov byte [esp + 0x18], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov edi, 0x42ae48
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1e8c], 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push 0x42ae48
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
jne 0x415882
mov edi, str.VMare
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push str.VMare
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
jne 0x415882
mov edi, str.Virtual
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push str.Virtual
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
jne 0x415882
mov edi, str.SLIP
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push str.SLIP
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
jne 0x415882
mov edi, str.P.P.P
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push str.P.P.P
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
jne 0x415882
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x2c]
lea eax, [ebx + 0x194]
push edx
push eax
call fcn.00415b10
test al, al
je 0x4158bb
mov eax, dword [ebx]
mov byte [esp + 0x1e8c], 0
test eax, eax
mov dword [esp + 0x28], eax
push 1
lea ecx, [esp + 0x18]
je 0x415abf
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0xc
mov dword [esp + 0x24], eax
jl 0x415751
jmp 0x415ac5
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov bl, byte [ebx + 0x194]
mov edx, dword [ecx]
mov ecx, dword [esi + 8]
sub edx, ecx
cmp edx, 1
ja 0x4158d9
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edi, dword [esi + 8]
push 0
inc edi
mov ecx, esi
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x415906
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
add eax, ecx
movsx ecx, bl
mov byte [eax], cl
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
add edi, eax
mov ch, cl
mov byte [edi], 0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [esi + 8]
mov ebp, dword [esp + 0x28]
mov ecx, dword [eax]
mov bl, byte [ebp + 0x195]
sub ecx, edx
cmp ecx, 1
ja 0x415927
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edi, dword [esi + 8]
push 0
inc edi
mov ecx, esi
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x415954
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
movsx edx, bl
add eax, ecx
mov dh, dl
mov byte [eax], dl
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
add edi, eax
mov byte [edi], 0
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov bl, byte [ebp + 0x196]
mov eax, dword [edx]
mov edx, dword [esi + 8]
sub eax, edx
cmp eax, 1
ja 0x415972
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edi, dword [esi + 8]
push 0
inc edi
mov ecx, esi
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x41599f
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
add eax, ecx
movsx ecx, bl
mov byte [eax], cl
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
add edi, eax
mov ch, cl
mov byte [edi], 0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [esi + 8]
mov bl, byte [ebp + 0x197]
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, 1
ja 0x4159bc
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edi, dword [esi + 8]
push 0
inc edi
mov ecx, esi
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4159e9
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
movsx edx, bl
add eax, ecx
mov dh, dl
mov byte [eax], dl
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
add edi, eax
mov byte [edi], 0
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov bl, byte [ebp + 0x198]
mov eax, dword [edx]
mov edx, dword [esi + 8]
sub eax, edx
cmp eax, 1
ja 0x415a07
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edi, dword [esi + 8]
push 0
inc edi
mov ecx, esi
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x415a34
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
add eax, ecx
movsx ecx, bl
mov byte [eax], cl
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
add edi, eax
mov ch, cl
mov byte [edi], 0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [esi + 8]
mov bl, byte [ebp + 0x199]
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, 1
ja 0x415a51
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edi, dword [esi + 8]
push 0
inc edi
mov ecx, esi
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x415a7c
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
movsx edx, bl
add eax, ecx
mov dh, dl
push edi
mov ecx, esi
mov byte [eax], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e90], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x1e94], 0xffffffff
call fcn.00416b70
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00421c18
add esp, 4
mov al, 1
jmp 0x415af2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x1e94], 0xffffffff
call fcn.00416b70
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00421c18
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1e84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1e80
ret 8