joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440e70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4793a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046c419
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00471b6a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00473180
test eax, eax
je 0x440f8c
mov ecx, dword [esp + 0x3c]
call fcn.00471b97
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x440f50
push edi
mov ecx, esi
call fcn.0046f14a
mov ecx, esi
call fcn.004410f0
cmp dword [esp + 0x38], 1
jne 0x440f85
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046f285
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4439b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4439e3
push esi
call fcn.00446ab0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4439dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443a69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443a52
mov eax, dword [esi + 8]
test eax, eax
je 0x443a07
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x443a4e
cmp eax, 2
je 0x443a52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4439fa
cmp eax, 3
je 0x443a2d
cmp eax, 1
jne 0x4439fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4439fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4439fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443a90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443a78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443a90
add esp, 4
pop esi
ret

Function at 0x44f5c0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44f663
test eax, eax
jbe 0x44f663
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44f663
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44f60e
xor esi, esi
jmp 0x44f614
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44f63f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004515a0
add esi, eax
push esi
mov ebx, esi
call fcn.004515a0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44f620
pop ebp
test edi, edi
pop edi
jne 0x44f663
test ebx, ebx
je 0x44f663
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045af10
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44f7a5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44f8bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44f8bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046c86b
mov esi, eax
test esi, esi
je 0x44f8bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44f8bd
mov ecx, esi
call fcn.0044f710
cmp edi, eax
jge 0x44f8bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44f843
mov dword [esp + 0x34], 1
jmp 0x44f89e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44f8bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044ecf0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x451730
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x451796
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x451796
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x451777
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x452380
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004524d0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4523a0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x452381
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004524d0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4523a0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4523d0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x452427
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x45243d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.00452460
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x452460
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x4524f0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x452539
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x452b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479b30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00452560
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004525e0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004525e0
lea ecx, [esi + 0xc]
call fcn.0046adf6
lea ecx, [esi + 0x10]
call fcn.0046adf6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00455160
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00455160
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00455160
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046ae6b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046ae6b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4539a8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x479d58
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4539b8
call fcn.00453ed0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x453a9b
cmp byte [edi], 0
je 0x453a9b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x4539dd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00452380
test eax, eax
jne 0x4539fd
push 0x4a14b8
lea ecx, [esi + 0x38]
call fcn.0046afa8
jmp 0x453a9b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004523d0
test eax, eax
jne 0x453a2c
mov ecx, esi
call fcn.004524d0
push edi
add esi, 0x38
push 0x4a1494
push esi
call fcn.00468a7a
add esp, 0xc
jmp 0x453a9b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00454750
test eax, eax
je 0x453a94
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00453b70
test eax, eax
jne 0x453ab0
push edi
lea eax, [esi + 0x38]
push 0x4a1470
push eax
call fcn.00468a7a
add esp, 0xc
mov ecx, esi
call fcn.00453ed0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x453b58
mov ecx, dword [0x4a33b0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00468a7a
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00452480
test eax, eax
jne 0x453b1a
push 0x4a1454
lea ecx, [esi + 0x38]
call fcn.0046afa8
jmp 0x453b2a
push 0xfa
mov ecx, esi
call fcn.00454750
test eax, eax
jne 0x453b47
mov ecx, esi
call fcn.00453ed0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046ae6b
jmp 0x453a9b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046ae6b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x456590
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4a17f4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4565a3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4565e4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4a189c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x456616
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45661a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x45660b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x456638
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45663c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x45662d
xor ecx, ecx
mov eax, 0x4a1804
xor ebx, ebx
mov bl, byte [ecx + 0x4a18ac]
cmp byte [esp + ebx + 0x14], 0
je 0x456667
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4a18c4]
cmp byte [esp + ebx + 0x14], 0
je 0x45667e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x45664e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4565d7
lea edx, [esp + 0x84]
push edx
call fcn.004566c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x46d20f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46d247
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046b2c6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046b29e
jmp 0x46d253
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46e904
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46e946
call fcn.00474626
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46e946
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46e93d
xor eax, eax
jmp 0x46e94e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046e954
pop edi
pop esi
pop ebx
ret 4

Function at 0x474b56
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x474b84
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474ba2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474abc
jmp 0x474ba2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474ba2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00474abc
test edi, edi
mov eax, edi
jne 0x474b8c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100012d4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
mov eax, dword [ebp + 8]
push ebx
cmp eax, 0x80000000
push esi
mov dword [ebp - 4], ecx
je 0x10001316
cmp eax, 0x80000001
je 0x1000130f
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x10001308
cmp eax, 0x80000003
jne 0x1000136b
mov ebx, str.USERS
jmp 0x1000131b
mov ebx, str.MACHINE
jmp 0x1000131b
mov ebx, str.CURRENT_USER
jmp 0x1000131b
mov ebx, str.CLASSES_ROOT
test ebx, ebx
je 0x1000136b
push 0x101
lea eax, [ebp - 0x108]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, 0x400
lea eax, [ebp - 0x508]
push esi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
cmp dword [ebp + 0x10], 0
jne 0x10001373
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x101
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x10001384
xor eax, eax
pop esi
pop ebx
leave
ret 0x10
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x508]
push ebx
push 0x10070058
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x108]
push dword [ebp + 0x14]
push eax
push 2
lea eax, [ebp - 0x508]
push 4
push eax
call fcn.100011f1
jmp 0x1000136d

Function at 0x100013bd
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
mov eax, dword [ebp + 8]
push ebx
cmp eax, 0x80000000
push esi
mov dword [ebp - 4], ecx
je 0x100013ff
cmp eax, 0x80000001
je 0x100013f8
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x100013f1
cmp eax, 0x80000003
jne 0x10001454
mov ebx, str.USERS
jmp 0x10001404
mov ebx, str.MACHINE
jmp 0x10001404
mov ebx, str.CURRENT_USER
jmp 0x10001404
mov ebx, str.CLASSES_ROOT
test ebx, ebx
je 0x10001454
push 0x101
lea eax, [ebp - 0x108]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, 0x400
lea eax, [ebp - 0x508]
push esi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
cmp dword [ebp + 0x10], 0
jne 0x1000145c
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x101
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x1000146d
xor eax, eax
pop esi
pop ebx
leave
ret 0x10
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x508]
push ebx
push 0x10070058
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x108]
push dword [ebp + 0x14]
push eax
push 3
lea eax, [ebp - 0x508]
push 4
push eax
call fcn.100011f1
jmp 0x10001456
Function at 0x100014a6
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x100014d6
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x101
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x100014e7
jmp 0x100014ff
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
push 2
push 1
push dword [ebp + 8]
call fcn.100011f1
pop esi
leave
ret 0xc

Function at 0x10001504
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x10001534
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x101
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x10001545
jmp 0x1000155d
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
push 3
push 1
push dword [ebp + 8]
call fcn.100011f1
pop esi
leave
ret 0xc

Function at 0x10001844
Capabilities:
Check os version

Disassembly:
call fcn.10001562
mov ecx, eax
jmp fcn.100053bc

Function at 0x10001ea3
Capabilities:
Delete file
Delete registry value
Move file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
push 0x100701c4
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov dl, byte [0x10078b14]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x217]
mov byte [ebp - 0x218], dl
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea eax, [ebp - 0x218]
push esi
push eax
push dword [0x10078af4]
mov dword [ebp - 0x10], str.WinSockLSPIFSL.reg
mov dword [ebp - 0xc], str.WinSockLSP.reg
mov dword [ebp - 8], str.360.log
mov dword [ebp - 4], str.360ss.dat
call fcn.10016dbe
add esp, 0x10
lea edi, [ebp - 0x10]
push 4
pop ebx
push dword [edi]
lea eax, [ebp - 0x218]
push eax
push str._s_s
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.10001f81
add esp, 0x14
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10001f74
push 4
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
add edi, 4
dec ebx
jne 0x10001f35
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100045e6
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100536e4
call fcn.10052270
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x1005d594
mov al, byte [ebp - 0xd]
mov dword [ebp - 4], ebx
mov byte [esi + 8], al
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 1
call fcn.1000eab5
mov eax, dword [0x10070040]
mov byte [ebp - 4], 2
mov dword [esi + 0x74], eax
mov cl, byte [ebp - 0xd]
lea eax, [esi + 0x78]
mov byte [ebp - 4], 3
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 4
call fcn.10011b6b
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 5
call fcn.10012506
lea ecx, [esi + 0x2b0]
mov byte [ebp - 4], 6
call fcn.1000dce5
lea ecx, [esi + 0x2e0]
mov byte [ebp - 4], 7
call fcn.10019ae7
push 0x20
lea eax, [esi + 0x18]
push ebx
mov byte [ebp - 4], 8
push eax
mov dword [esi], 0x1005d590
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
push 0x10078b1c
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
push 0x10078c20
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
push 0x10078d24
call fcn.10016f6a
push 0x20
lea eax, [esi + 0x38]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x14
push 0x10078e28
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x10078e28
call sub.MSVCRT.dll_strlen
cmp eax, ebx
pop ecx
jle 0x100046f1
mov byte [eax + 0x10078e27], bl
push 0x1e
mov ecx, esi
call fcn.10008c1e
mov dword [0x10078f2c], eax
call fcn.10016d33
push 0x10078b14
lea ecx, [esi + 0x74]
mov dword [0x10078f30], eax
call fcn.100036ad
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x88], 1
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret