Function at 0x100369c0
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 0x100cdf00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3e0
mov eax, dword [0x100ff230]
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 0x10036a90
lea eax, [ebp - 0x3e4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10036a84
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 0x10036a90
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 0x10036ba8
push dword [ebp - 0x3dc]
call fcn.100a3f17
mov esi, eax
add esp, 4
mov dword [ebp - 0x3e0], esi
test esi, esi
je 0x10036ba8
lea eax, [ebp - 0x3dc]
push eax
push esi
call edi
test eax, eax
jne 0x10036b27
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.10020350
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.10093d00
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 0x10036b93
mov eax, dword [ebp - 0x1b8]
cmp eax, 5
je 0x10036b73
cmp eax, 4
jne 0x10036b93
mov ecx, dword [ebp - 0x3e0]
xor edx, edx
movzx eax, byte [0x100ffe2c]
cmp dword [ecx + 0x1a0], 0x47
cmove eax, edx
mov byte [0x100ffe2c], al
jmp 0x10036b99
mov ecx, dword [ebp - 0x3e0]
mov edi, dword [edi]
test edi, edi
jne 0x10036b30
push ecx
call fcn.1009e727
add esp, 4
call fcn.1001b840
call fcn.1002d660
cmp dword [0x10107360], 0
jne 0x10036bfd
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 [0x10107364], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeSRWLock]
push 0x1010736c
mov dword [0x10107368], eax
call esi
push 0x10107380
call esi
mov dword [0x10107360], 1
mov esi, dword [ebp - 0x3e8]
mov ecx, esi
call fcn.10036e20
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 0x10036c30
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 0x10036c68
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 0x10036ca3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036c99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e0c
push ecx
push edx
call fcn.1009197a
add esp, 8
call fcn.1003baf0
call fcn.1003bf30
mov edx, 0xafc8
xor ecx, ecx
call fcn.1006a350
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.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100eb140]
mov esi, eax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0x3b2172
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 0x10036d12
lea edx, [ebp - 0x60]
mov byte [ebp - 0x4e], 0
mov ecx, esi
call fcn.10006770
movzx ecx, byte [0x100ffe2c]
push ecx
mov ecx, eax
call fcn.10047660
movaps xmm0, xmmword [0x100eaa60]
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 0x10036d53
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 0x10036da4
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 0x10036de1
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036dd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e11
push ecx
push edx
call fcn.1009197a
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.10091622
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1009d81f
call fcn.1009d81f
int3