Function at 0x415bc0
Capabilities:
Access peb ldr_data
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x427781
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x43914c]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43914c]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2f8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2fc]
push ecx
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edi, eax
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x2f0], ebx
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2f0], 1
xor eax, eax
mov dword [esp + 0x2d1], eax
mov dword [esp + 0x2d5], eax
mov dword [esp + 0x2d9], eax
mov dword [esp + 0x2dd], eax
mov word [esp + 0x2e1], ax
mov byte [esp + 0x2e3], al
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
mov byte [esp + 0x2d0], bl
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x2f0], 2
cmp edi, 0x6f
jne 0x415fc0
mov eax, dword [esp + 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [esp + 0x24]
push ecx
mov edi, eax
push ebx
push edi
mov dword [esp + 0x40], edi
call fcn.00418320
add esp, 0xc
cmp edi, ebx
je 0x415f93
lea edx, [esp + 0x24]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [esp + 0x3c], eax
mov ebp, edi
jmp 0x415d10
lea ebx, [ebp + 0x1b0]
lea eax, [esp + 0x2c]
call fcn.004034e0
lea ebx, [ebp + 0x1c0]
lea eax, [esp + 0x18]
call fcn.004034e0
mov ebx, dword [esp + 0x38]
mov byte [esp + 0x2d0], 0
test ebx, ebx
je 0x415d73
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x415d73
lea edi, [esp + 0x2d0]
nop
movzx eax, byte [esi + ebp + 0x194]
push eax
push 0x435704
push edi
call fcn.00417bd5
inc esi
add esp, 0xc
add edi, 2
cmp esi, dword [ebp + 0x190]
jb 0x415d50
mov esi, dword [esp + 0x2c]
cmp dword [esi - 0xc], 0
jl 0x415dbb
push 0x435754
push esi
call fcn.004176fc
add esp, 8
test eax, eax
je 0x415d99
sub eax, esi
sar eax, 1
jns 0x415ee4
cmp dword [esi - 0xc], 0
jl 0x415dbb
push 0x435764
push esi
call fcn.004176fc
add esp, 8
test eax, eax
je 0x415dbb
sub eax, esi
sar eax, 1
jns 0x415ee4
lea ecx, [esp + 0x2d0]
push 0x435774
push ecx
call fcn.00417fa0
add esp, 8
test eax, eax
jne 0x415ee4
cmp dword [esi - 0xc], eax
jl 0x415e31
push 0x435780
push esi
call fcn.004176fc
add esp, 8
test eax, eax
je 0x415df5
sub eax, esi
sar eax, 1
jns 0x415e5f
cmp dword [esi - 0xc], 0
jl 0x415e31
push 0x43578c
push esi
call fcn.004176fc
add esp, 8
test eax, eax
je 0x415e13
sub eax, esi
sar eax, 1
jns 0x415e5f
cmp dword [esi - 0xc], 0
jl 0x415e31
push 0x435794
push esi
call fcn.004176fc
add esp, 8
test eax, eax
je 0x415e31
sub eax, esi
sar eax, 1
jns 0x415e5f
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x415ee4
push 0x4357a0
push edi
call fcn.004176fc
add esp, 8
test eax, eax
je 0x415ee4
sub eax, edi
sar eax, 1
js 0x415ee4
test ebx, ebx
je 0x415e7a
lea eax, [esp + 0x2d0]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x415e70
mov edi, dword [esp + 0x30]
test edi, edi
je 0x415e9c
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
call fcn.00403310
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
mov edi, dword [esp + 0x28]
test edi, edi
je 0x415ebc
mov ebx, esi
lea eax, [esp + 0x1c]
call fcn.00403310
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
lea edx, [ebp + 0x1d8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415ec7
mov ecx, dword [esp + 0x40]
sub eax, edi
push eax
push edx
call fcn.00404a50
mov ecx, dword [esp + 0x28]
cmp byte [ecx], 0xc0
je 0x415eef
mov ebp, dword [ebp]
test ebp, ebp
jne 0x415d10
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
push edx
push 0
add edi, 0xf0000000
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test eax, eax
jne 0x415fc8
mov byte [esp + 0x2f0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415f3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415f65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2f0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415f8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41604d
lea eax, [ebp - 0x10]
mov byte [esp + 0x2f0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415fb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], bl
jmp 0x415f45
add edi, 0xe0000000
jmp 0x415fce
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
xor ecx, ecx
cmp edi, ebx
sete cl
lea eax, [ebp - 0x10]
mov byte [esp + 0x2f0], 1
lea edx, [eax + 0xc]
mov edi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415ffd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2f0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41604b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.00416b64
add esp, 0x2e0
ret 8