joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480ca0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004802e0
xor eax, eax
push ebp
push 0x480e12
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x480dfc
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x480ceb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480cf5
call fcn.00403e50
jmp 0x480e19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004181a0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x480df1
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x480da3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x480d90
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004037d4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00480c58
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x480e24]
cmp dl, byte [eax + 0x28]
je 0x480df8
call fcn.0040b344
jmp 0x480df8
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004181c0
jmp 0x480df8
cmp ecx, ebx
jge 0x480dbf
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004181c0
jmp 0x480cf5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004181a0
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004181d4
cmp edx, dword [esp + 4]
jne 0x480de0
cmp eax, dword [esp]
pop edx
pop eax
jne 0x480cf5
push ebp
call fcn.00480c58
pop ecx
jmp 0x480df8
push ebp
call fcn.00480c58
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480e19
mov eax, dword [ebp - 4]
call fcn.004802ec
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480e28
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480f4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004802e0
xor eax, eax
push ebp
push 0x480f2d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480e78
call fcn.00403e50
jmp 0x480f34
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x480f17
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x480f17
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004037d4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x480f17
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ab4c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x480f64
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4bc3bc]
mov dl, 1
mov eax, dword [0x47ef48]
call fcn.0040b4a4
call fcn.00403da4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480f34
mov eax, dword [ebp - 4]
call fcn.004802ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480f51
lea eax, [ebp - 0x28]
call fcn.004043e8
ret
Function at 0x480fb0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4810fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004802e0
xor eax, eax
push ebp
push 0x4810dd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x481015
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x481015
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4810c7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x481028
call fcn.00403e50
jmp 0x4810e4
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4810c7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4810c7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004037d4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4810c7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ab4c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x481114
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4bc3bc]
mov dl, 1
mov eax, dword [0x47ef48]
call fcn.0040b4a4
call fcn.00403da4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4810e4
mov eax, dword [ebp - 4]
call fcn.004802ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481101
lea eax, [ebp - 0x28]
call fcn.004043e8
ret
Function at 0x49cfa8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x49cfd6
mov eax, ebx
call fcn.0049da60
cmp dword [ebx + 0x3c], 0
je 0x49cfcf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x49d047
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x49d039
cmp dword [ebx + 8], 0
je 0x49cff8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x49d00a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x49d039
cmp dword [ebx + 8], 0
je 0x49cfeb
cmp eax, 3
je 0x49d01d
dec eax
jne 0x49cfeb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x49cfeb
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x49cfeb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x49d065
cmp dword [ebx + 0x10], 0xcc
je 0x49d065
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0049d070
pop ebx
ret

Function at 0x4ad410
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x412860]
call fcn.00404df0
xor eax, eax
push ebp
push 0x4ad554
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bbfc0], 0
jne 0x4ad463
mov ecx, dword [0x4bc054]
mov dl, 1
mov eax, dword [0x407898]
call fcn.0040b468
call fcn.00403da4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e8c
mov eax, ebx
call fcn.00404c60
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4ad564
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406158
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c70
test eax, eax
jle 0x4ad4fb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4ad4f4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404668
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404650
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408744
test eax, eax
jne 0x4ad4f4
mov ebx, 0x15
jmp 0x4ad500
mov ebx, 0x10
jmp 0x4ad500
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4bbfc0]
call fcn.004ad368
mov eax, dword [ebp - 8]
call fcn.004ad368
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406170
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad55b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040440c
lea eax, [ebp - 0x10]
mov edx, dword [0x412860]
call fcn.00404ec0
ret
Function at 0x4b3ef8
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebx
push esi
add esp, 0xfffffe60
mov esi, eax
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
dec eax
jne 0x4b3f14
mov al, 1
jmp 0x4b3f77
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b3f30
push ebx
call sub.wsock32.dll_closesocket
mov al, 1
jmp 0x4b3f77
mov word [esp + 0x190], 2
xor eax, eax
mov dword [esp + 0x194], eax
push esi
call sub.wsock32.dll_htons
mov word [esp + 0x192], ax
push 0x10
lea eax, [esp + 0x194]
push eax
push ebx
call sub.wsock32.dll_bind
test eax, eax
je 0x4b3f6f
push ebx
call sub.wsock32.dll_closesocket
mov al, 1
jmp 0x4b3f77
push ebx
call sub.wsock32.dll_closesocket
xor eax, eax
add esp, 0x1a0
pop esi
pop ebx
ret
Function at 0x4b739c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1024], ecx
mov dword [ebp - 0x1028], ecx
mov dword [ebp - 0x102c], ecx
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x1018], ecx
mov dword [ebp - 0x1014], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b75de
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
mov eax, dword [edx + 8]
call fcn.00461f20
cmp ax, 1
jne 0x4b7453
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0x48]
push eax
push 0
push 0x1000
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebx + 0x34]
push eax
call sub.wsock32.dll_recvfrom
mov esi, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1014]
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
call fcn.004044d8
mov eax, dword [ebp - 0x1014]
mov ecx, esi
mov edx, 1
call fcn.004048f8
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404480
lea eax, [ebp - 0x10]
call fcn.004043e8
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x4b74da
lea eax, [ebp - 0x10]
mov edx, 0x4b75f4
call fcn.00404480
mov eax, dword [ebp - 0xc]
call fcn.004046a0
mov esi, eax
test esi, esi
jle 0x4b74cd
mov edi, 1
push dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edi - 1]
lea edx, [ebp - 0x1018]
call fcn.004b7c7c
push dword [ebp - 0x1018]
push 0x4b7600
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404760
inc edi
dec esi
jne 0x4b749b
lea eax, [ebp - 0x10]
mov edx, 0x4b760c
call fcn.004046a8
call fcn.00409f20
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1020]
call fcn.0040ab20
push dword [ebp - 0x1020]
push 0x4b7618
push dword [ebp - 0x10]
push dword [ebp - 0xc]
lea eax, [ebp - 0x101c]
mov edx, 4
call fcn.00404760
mov edx, dword [ebp - 0x101c]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004046a0
mov edx, dword [ebx + 0x28]
add dword [edx + 0x35c], eax
push 0x4b762c
lea edx, [ebp - 0x1028]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x35c]
call fcn.004089d0
push dword [ebp - 0x1028]
push 0x4b763c
lea edx, [ebp - 0x102c]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x358]
call fcn.004089d0
push dword [ebp - 0x102c]
push 0x4b7650
lea eax, [ebp - 0x1024]
mov edx, 5
call fcn.00404760
mov eax, dword [ebp - 0x1024]
push eax
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x32c]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0046d14c
pop edx
call fcn.0046d0a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b75e5
lea eax, [ebp - 0x102c]
mov edx, 7
call fcn.0040440c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040440c
ret
Function at 0x58e70f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421636
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x426a58]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], 0x4239c0
mov dword [ebp - 0x14], esi
mov dword [esi], 0x42c1d8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x42c1d8]
push 0
push 2
push esi
push 0x42c1d8
mov dword [ebp - 4], 0
call dword [eax]
mov eax, dword [esi + 4]
xor ecx, ecx
mov word [eax], cx
lea esi, [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0x42c1d8
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov eax, dword [0x42c1d8]
push ecx
push 2
push esi
push 0x42c1d8
mov byte [ebp - 4], 2
call dword [eax]
mov eax, dword [esi + 4]
xor ecx, ecx
xor edx, edx
mov word [eax], cx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0x80000000
mov dword [edi + 0x38], ecx
mov dword [edi + 0x2c], 0xc
mov dword [edi + 0x30], 7
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x3c], ecx
lea ecx, [edi + 0x40]
mov dword [edi + 0x28], 0x4239a0
lea eax, [ecx + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], 0x102
mov dword [ecx], 0x42c1dc
mov dword [ecx + 8], 0x102
mov word [eax], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100bc9e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
inc edi
xor esi, esi
push edi
mov dword [ebp - 4], 2
mov dword [ebp - 8], esi
call fcn.0102208b
test eax, eax
jne 0x100bcf8
mov edi, 0x80000225
cmp dword [ebp + 0xc], esi
je 0x100bcd4
push esi
push dword [ebp + 0x10]
push edi
call fcn.01026c45
push edi
push 0x10022e0
push 0x5a1
push 0x1002210
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
jmp 0x100bd87
push edi
call fcn.01022175
push esi
push esi
lea eax, [ebp - 4]
push eax
push 0x1029d41
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x100bd25
push esi
push 0x10022e0
push 0x5b4
jmp 0x100bd3d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100bd53
push esi
push 0x10022e0
push 0x5bb
push 0x1002210
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
jmp 0x100bd79
cmp dword [ebp - 4], 2
jne 0x100bd76
push 0x1001a18
mov ecx, 0x104abe8
call fcn.0102f6f0
cmp dword [ebp + 8], edi
jne 0x100bd79
push edi
push esi
call fcn.01022c10
jmp 0x100bd79
mov dword [ebp - 8], edi
cmp dword [ebp + 0xc], esi
je 0x100bd87
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 0xc

Function at 0x100cc76
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
test esi, esi
jne 0x100cc91
push 0x80004005
call fcn.0100a9e5
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x100cc93
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100d9cb
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x104a328]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.0100cbd4
mov edi, eax
cmp edi, esi
je 0x100da3d
lea ecx, [ebp - 0x214]
call fcn.0100cb61
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0102da5f
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100da5b
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0100d9cb
cmp eax, esi
jne 0x100daa6
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0x100da45
lea ecx, [ebp - 0x214]
call fcn.0100cb61
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.0100cadb
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0100cb61
mov eax, esi
jmp 0x100da2d
Function at 0x10151a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x104328e
call fcn.0102db22
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x10151fc
call fcn.0100c958
mov esi, eax
jmp 0x1015305
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x1015215
call fcn.0100c958
jmp 0x10152f7
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x101520b
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0x101527b
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1015261
lea ecx, [ebp - 0x418]
call fcn.0100d68f
mov esi, 0x8007000e
lea ecx, [ebp - 0x424]
call fcn.0100d59e
mov eax, esi
call fcn.0102db8d
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0100ebcf
mov dword [ebp - 4], 1
jmp 0x10152a9
cmp dword [ebp - 0x418], esi
jne 0x10152b8
mov esi, 0x8007000e
jmp 0x10152f9
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x101520b
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.010109a1
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1015266
lea ecx, [ebp - 0x418]
call fcn.0100d68f
jmp 0x1015266
Function at 0x1019ea6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x104a328]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x104a7c8]
push 0xf0
push eax
push esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x101a01e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101a01e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x101a01e
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x101a01c
inc esi
inc esi
movzx edi, ax
movzx eax, word [esi]
inc esi
inc esi
mov ecx, dword [esi]
mov dword [ebp - 0x114], ecx
mov ecx, 0x403
add esi, 4
cmp cx, ax
jne 0x1019f96
push esi
lea ecx, [ebp - 0x108]
call fcn.01019002
push dword [ebp - 0x108]
movzx eax, di
push 0
push 0x143
push eax
mov eax, dword [ebp - 0x110]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x1019f75
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x108], eax
je 0x101a009
push dword [ebp - 0x108]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x101a009
mov ecx, 0x1234
cmp cx, ax
jne 0x101a009
or dword [ebp - 0x134], 0xffffffff
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x138], 1
call fcn.01019002
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x108], eax
je 0x1019fe0
push dword [ebp - 0x108]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea eax, [ebp - 0x138]
push eax
push 0
movzx eax, di
push 0x40b
push eax
mov eax, dword [ebp - 0x110]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x101a009
and dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x1019f14
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
xor ecx, ebp
pop esi
call fcn.0102da5f
leave
ret 4

Function at 0x101b2e1
Capabilities:
Change the wallpaper

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ecx + 0x50]
and dword [ebp - 4], 0
mov dword [ebp - 8], ecx
test eax, eax
je 0x101b37a
push ebx
push esi
push edi
push 3
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, 0x1003cc0
mov edi, 0x10018c8
mov esi, 0x104abe8
test eax, eax
jne 0x101b331
push eax
push 0x1003d88
push 0xd8c
push ebx
push edi
mov ecx, esi
call fcn.0102f8f0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x101b352
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
and dword [eax + 0x50], 0
push 0x10021f0
call fcn.0102e90c
mov dword [ebp - 4], eax
test eax, eax
jge 0x101b377
push eax
push 0x1003d88
push 0xd96
push ebx
push edi
mov ecx, esi
call fcn.0102f8f0
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 4]
leave
ret