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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d4ac0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x292c
call fcn.004b8440
mov eax, dword [0x52ad60]
xor eax, esp
mov dword [esp + 0x2928], eax
push ebx
push esi
push edi
mov eax, dword [0x52ad60]
xor eax, esp
push eax
lea eax, [esp + 0x2940]
mov dword fs:[0], eax
mov dword [esp + 0x38], ecx
and dword [esp + 0x8c], 0xfffffe00
mov dword [esp + 0x90], 0
mov dword [esp + 0x2948], 1
mov eax, dword [esp + 0x7c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x7c], eax
mov eax, dword [0x52fe1c]
mov dword [esp + 0x80], 0
test al, 1
jne 0x41f2ef
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
mov ecx, dword [0x52c374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push ecx
push str.error
lea ecx, [esp + 0x90]
mov byte [esp + 0x2954], 2
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x74]
mov byte [esp + 0x2948], 1
call fcn.004493f0
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x294c], 3
xor edi, edi
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
mov ebx, eax
test ebx, ebx
jne 0x41f3a5
movzx ecx, byte [esp + 0x83]
movzx eax, byte [esp + 0x80]
push ecx
movzx ecx, byte [esp + 0x86]
push ecx
movzx ecx, byte [esp + 0x89]
push ecx
push eax
movzx eax, byte [esp + 0x8f]
push eax
movzx eax, byte [esp + 0x92]
jmp 0x41f460
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0x78], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov edi, eax
test edi, edi
jne 0x41f477
movzx ecx, byte [esp + 0x24d]
movzx eax, byte [esp + 0x24a]
push ecx
movzx ecx, byte [esp + 0x250]
push ecx
movzx ecx, byte [esp + 0x253]
push ecx
push eax
movzx eax, byte [esp + 0x259]
push eax
movzx eax, byte [esp + 0x25c]
push eax
lea eax, [esp + 0x2c]
push str._d__d__d__d__d__d
push eax
lea esi, [esp + 0xd4]
call fcn.00404c40
add esp, 0x20
lea esp, [esp]
cmp dword [esi + 0x1a0], 6
je 0x41f431
mov esi, dword [esi]
test esi, esi
jne 0x41f420
jmp 0x41f473
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
lea eax, [esp + 0x2c]
push str._d__d__d__d__d__d
push eax
call fcn.00404c40
add esp, 0x20
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jne 0x41f66c
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push edi
push ebx
lea eax, [esp + 0x18]
push str.getMac_error_getmac__d__d
push eax
mov byte [esp + 0x2958], 4
call fcn.00404c40
add esp, 0x10
lea ecx, [esp + 0x70]
push str.getMac
call fcn.00403720
mov byte [esp + 0x2948], 5
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294c], 6
call fcn.00431540
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [esp + 0x24]
mov byte [esp + 0x294c], 7
call fcn.00403720
push 2
push edi
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x52f7a4
mov byte [esp + 0x2958], 8
call fcn.004018e0
mov byte [esp + 0x2948], 7
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41f557
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2948], 6
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f57c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x2948], 5
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f59d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2948], 4
mov edx, dword [esp + 0x70]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f5c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x3c]
call fcn.00431370
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x294c], 9
call fcn.00449200
lea eax, [esp + 0x24]
push eax
push ecx
push str.error
lea ecx, [esp + 0x90]
mov byte [esp + 0x2954], 0xa
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x2948], 9
call fcn.004493f0
cmp dword [esp + 0x50], 0x10
jb 0x41f62b
push dword [esp + 0x3c]
call fcn.004b3a0c
add esp, 4
mov byte [esp + 0x2948], 3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f650
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x2948], 1
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x41f7b6
lea edx, [esp + 0x14]
lea ecx, [esp + 0x58]
call fcn.00431370
mov edi, eax
mov byte [esp + 0x2948], 0xb
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0
test al, 1
jne 0x41f6c7
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [edi + 0x14], 0x10
mov edx, dword [edi + 0x10]
jb 0x41f6d2
mov edi, dword [edi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov dword [esp + 0x24], eax
push ecx
push 0x514174
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2950], 0xc
call fcn.00449e90
mov edi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], 0
call fcn.00449270
movsx ecx, byte [edi + 8]
mov ebx, dword [esp + 0x44]
mov byte [edi + 8], bl
mov edx, dword [edi + 4]
mov eax, ebx
xor eax, ecx
mov ecx, dword [edi]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x3c]
mov dword [edi + 8], eax
mov dword [esp + 0x44], ebx
call fcn.004493f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x2948], 0xb
call fcn.004493f0
cmp dword [esp + 0x6c], 0x10
jb 0x41f79c
push dword [esp + 0x58]
call fcn.004b3a0c
add esp, 4
add esi, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x2948], 1
lea ecx, [esi + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41f7c0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x94], 0x514aec
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
mov byte [esp + 0xb0], 0
mov byte [esp + 0x2948], 0xd
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2950], 0xe
call fcn.0044c090
mov edx, eax
mov byte [esp + 0x2948], 0xf
cmp dword [edx + 0x14], 0x10
jb 0x41f840
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x41f85f
xor ecx, ecx
jmp 0x41f873
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f868
sub ecx, dword [esp + 0x30]
push ecx
push edx
mov ecx, ebx
call fcn.004012f0
lea ecx, [esp + 0x34]
call fcn.004312a0
add esp, 0x18
mov byte [esp + 0x2948], 0x10
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x41f8e5
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x41f8d4
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x41f8d4
call fcn.004047b0
mov dword [esp + 0x18], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41f8cb
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x18]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
jmp 0x41f8e5
push dword [edx - 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.004046f0
mov esi, dword [esp + 0x10]
mov byte [esp + 0x2948], 0xf
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f90a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2948], 0xe
cmp dword [esp + 0x6c], 0x10
jb 0x41f925
push dword [esp + 0x58]
call fcn.004b3a0c
add esp, 4
mov ebx, dword [esp + 0x38]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41f944
call fcn.0040c760
mov dword [ebx + 8], eax
mov ebx, dword [0x52f408]
mov ecx, 0x18
lea eax, [ebx + 1]
imul eax, ebx
cdq
idiv ecx
cmp edx, 0xa
jne 0x41f966
inc dword [0x52f618]
mov eax, ebx
imul eax, ebx
cdq
idiv ecx
cmp edx, 0x12
jne 0x41f9ae
mov eax, 0x51eb851f
imul ebx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub ebx, ecx
xor ecx, ecx
lea eax, [ebx + 0x63]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b31e0
add esp, 4
push eax
call fcn.004b429b
add esp, 4
add esi, 0xfffffff0
mov byte [esp + 0x2948], 0xd
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41f9cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0xac], 0x10
mov dword [esp + 0x94], 0x514aec
jb 0x41f9f1
push dword [esp + 0x98]
call fcn.004b3a0c
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
mov dword [esp + 0x94], 0x5186b0
mov dword [esp + 0x2948], 0xffffffff
call fcn.004493f0
mov ecx, dword [esp + 0x2940]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2928]
xor ecx, esp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret