Function at 0x10036c90
Capabilities:
Acquire debug privileges
Encode data using xor
Get mac address on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce590
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3e0
mov eax, dword [0x10100230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3e8], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x3ec], eax
call dword [sym.imp.HttpClient.dll_HTTPAPI_InitializeSdk]
lea eax, [ebp - 0x3dc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10036d60
lea eax, [ebp - 0x3e4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10036d54
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0x3e0]
push 0
push 0
push 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp - 0x3dc]
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x10036d60
push dword [ebp - 0x3dc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10018eb0
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x3dc]
push eax
push 0
mov dword [ebp - 0x3dc], 0
call edi
cmp eax, 0x6f
jne 0x10036e78
push dword [ebp - 0x3dc]
call fcn.100a44d7
mov esi, eax
add esp, 4
mov dword [ebp - 0x3e0], esi
test esi, esi
je 0x10036e78
lea eax, [ebp - 0x3dc]
push eax
push esi
call edi
test eax, eax
jne 0x10036df7
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
push str._02X__02X__02X__02X__02X__02X
push str.00_00_00_00_00_00
call fcn.10020390
add esp, 0x20
mov edi, esi
nop dword [eax]
mov esi, dword [edi + 0x19c]
lea eax, [ebp - 0x3d8]
push 0x35c
push 0
push eax
call fcn.100942c0
add esp, 0xc
mov dword [ebp - 0x1d8], esi
lea eax, [ebp - 0x3d8]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetIfEntry]
test eax, eax
jne 0x10036e63
mov eax, dword [ebp - 0x1b8]
cmp eax, 5
je 0x10036e43
cmp eax, 4
jne 0x10036e63
mov ecx, dword [ebp - 0x3e0]
xor edx, edx
movzx eax, byte [0x10100e2c]
cmp dword [ecx + 0x1a0], 0x47
cmove eax, edx
mov byte [0x10100e2c], al
jmp 0x10036e69
mov ecx, dword [ebp - 0x3e0]
mov edi, dword [edi]
test edi, edi
jne 0x10036e00
push ecx
call fcn.1009ece6
add esp, 4
call fcn.1001b880
call fcn.1002dfe0
cmp dword [0x10108378], 0
jne 0x10036ecd
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [0x1010837c], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeSRWLock]
push 0x10108384
mov dword [0x10108380], eax
call esi
push 0x10108398
call esi
mov dword [0x10108378], 1
mov esi, dword [ebp - 0x3e8]
mov ecx, esi
call fcn.100370f0
mov edi, dword [ebp - 0x3ec]
xorps xmm0, xmm0
mov ecx, edi
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036f00
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.1000ad50
lea ecx, [esi + 0x90]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x10036f38
cmp dword [ebp - 0x18], 0x10
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10008f60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10036f73
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036f69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370dc
push ecx
push edx
call fcn.10091f2c
add esp, 8
call fcn.1003bf90
call fcn.1003c3d0
mov edx, 0xafc8
xor ecx, ecx
call fcn.1006a8f0
push ecx
lea ecx, [ebp - 0x130]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e850
mov edx, 0x100e846c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100ebe80]
mov esi, eax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0x2184b
mov byte [ebp - 4], 2
xor ecx, ecx
mov al, byte [ebp + ecx - 0x73]
xor al, byte [ebp - 0x74]
mov byte [ebp + ecx - 0x60], al
inc ecx
cmp ecx, 0x12
jb 0x10036fe2
lea edx, [ebp - 0x60]
mov byte [ebp - 0x4e], 0
mov ecx, esi
call fcn.10006770
movzx ecx, byte [0x10100e2c]
push ecx
mov ecx, eax
call fcn.10047b00
movaps xmm0, xmmword [0x100eba60]
mov esi, eax
movups xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 4], 3
xor ecx, ecx
mov al, byte [ebp + ecx - 0x4b]
xor al, byte [ebp - 0x4c]
mov byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 0xe
jb 0x10037023
lea edx, [ebp - 0x3c]
mov byte [ebp - 0x2e], 0
mov ecx, esi
call fcn.10006770
mov edx, str.00_00_00_00_00_00
mov ecx, eax
call fcn.10006770
mov byte [ebp - 4], 1
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x130]
lea eax, [ebp - 0x48]
push eax
call fcn.100044d0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10037074
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003ef0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x100370b1
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100370a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370e1
push ecx
push edx
call fcn.10091f2c
add esp, 8
lea ecx, [ebp - 0x130]
call fcn.10004400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10091bd4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1009dddf
call fcn.1009dddf
int3