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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x42303b
push eax
mov eax, 0x1e74
mov dword fs:[0], esp
call fcn.00421af0
push ebx
push ebp
push esi
mov dword [esp + 0x48], ecx
push edi
mov edi, 0x42c460
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x1e94]
not ecx
dec ecx
push ecx
push 0x42c460
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 0x41548b
call fcn.00419810
mov ebx, eax
cmp dword [ebx + 0xc], ebp
je 0x41548b
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.00419d80
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 0x41548b
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, 0x42c460
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x42c460
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.0041cf90
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.004198a0
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 0x41546a
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x54]
push ecx
push 1
push edx
lea ecx, [esp + 0x38]
call fcn.0040fa60
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 0x415343
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 0x415845
lea edx, [esp + 0x84]
test edx, edx
je 0x415845
mov dword [esp + 0x24], 1
jmp 0x4154d5
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, 0x42ade8
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 0x42ade8
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 0x415602
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 0x415602
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 0x415602
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 0x415602
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 0x415602
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x2c]
lea eax, [ebx + 0x194]
push edx
push eax
call fcn.00415890
test al, al
je 0x41563b
mov eax, dword [ebx]
mov byte [esp + 0x1e8c], 0
test eax, eax
mov dword [esp + 0x28], eax
push 1
lea ecx, [esp + 0x18]
je 0x41583f
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 0x4154d1
jmp 0x415845
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 0x415659
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 0x415686
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 0x4156a7
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 0x4156d4
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 0x4156f2
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 0x41571f
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 0x41573c
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 0x415769
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 0x415787
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 0x4157b4
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 0x4157d1
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 0x4157fc
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.004168f0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004218a8
add esp, 4
mov al, 1
jmp 0x415872
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.004168f0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004218a8
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