joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ba00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41ba2b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41ba4f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41ba6a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x41f2f5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41f32d
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.0041cec2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041ce9a
jmp 0x41f339
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x420877
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 0x4208b9
call fcn.00424d78
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4208b9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4208b0
xor eax, eax
jmp 0x4208c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004208c7
pop edi
pop esi
pop ebx
ret 4

Function at 0x42578f
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 0x4257bd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4257db
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004256f5
jmp 0x4257db
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4257db
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004256f5
test edi, edi
mov eax, edi
jne 0x4257c5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x2e53700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02e5378f
jae 0x2e5370e
xor ecx, ecx
call fcn.02e5378f
jae 0x2e5373d
xor eax, eax
call fcn.02e5378f
jae 0x2e5374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02e5378f
adc al, al
jae 0x2e5372f
jne 0x2e53779
stosb byte es:[edi], al
jmp 0x2e53711
call fcn.02e5379b
sub ecx, ebx
jne 0x2e53756
call fcn.02e53799
jmp 0x2e53775
lodsb al, byte [esi]
shr eax, 1
je 0x2e53783
adc ecx, ecx
jmp 0x2e53772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02e53799
cmp eax, 0x7d00
jae 0x2e53772
cmp ah, 5
jae 0x2e53773
cmp eax, 0x7f
ja 0x2e53774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2e53711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x2e73700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02e7378f
jae 0x2e7370e
xor ecx, ecx
call fcn.02e7378f
jae 0x2e7373d
xor eax, eax
call fcn.02e7378f
jae 0x2e7374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02e7378f
adc al, al
jae 0x2e7372f
jne 0x2e73779
stosb byte es:[edi], al
jmp 0x2e73711
call fcn.02e7379b
sub ecx, ebx
jne 0x2e73756
call fcn.02e73799
jmp 0x2e73775
lodsb al, byte [esi]
shr eax, 1
je 0x2e73783
adc ecx, ecx
jmp 0x2e73772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02e73799
cmp eax, 0x7d00
jae 0x2e73772
cmp ah, 5
jae 0x2e73773
cmp eax, 0x7f
ja 0x2e73774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2e73711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1001b1b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.1001aff0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1001b1e2
mov eax, dword [ebp - 8]
jmp 0x1001b24f
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 1
jne 0x1001b1f7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x1001b22d
cmp dword [ebp + 0x14], 7
jne 0x1001b205
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
jmp 0x1001b22d
cmp dword [ebp + 0x14], 2
jne 0x1001b213
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
jmp 0x1001b22d
cmp dword [ebp + 0x14], 4
jne 0x1001b221
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x1001b22d
cmp dword [ebp + 0x14], 3
jne 0x1001b22d
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001b260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 1
jne 0x1001b2a6
mov dword [ebp - 8], 0x410
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
jmp 0x1001b363
cmp dword [ebp + 0x14], 7
jne 0x1001b2d5
mov dword [ebp - 8], 0x410
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
jmp 0x1001b363
cmp dword [ebp + 0x14], 2
jne 0x1001b301
mov dword [ebp - 8], 0x410
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
jmp 0x1001b363
cmp dword [ebp + 0x14], 4
jne 0x1001b32d
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
jmp 0x1001b363
cmp dword [ebp + 0x14], 3
jne 0x1001b363
mov dword [ebp - 8], 0x100
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx + 0x100], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1001bec0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027294
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push eax
lea ecx, [ebp - 0x24c]
call fcn.100083e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10008440
cmp eax, 0xffffffff
jne 0x1001bf47
mov byte [ebp - 0x24d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10008410
mov al, byte [ebp - 0x24d]
jmp 0x1001bfce
mov dword [ebp - 0x244], 0x22c
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.10008440
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1001bfad
mov ecx, dword [ebp + 8]
call fcn.10003fa0
push eax
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001bf91
mov byte [ebp - 0xd], 1
jmp 0x1001bfad
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10008440
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001bf71
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0x24e], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10008410
mov al, byte [ebp - 0x24e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c230
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001c266
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1001c327
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001c290
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1001c31d
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1001c2b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1001c313
mov dword [ebp - 0x10], 7
cmp dword [ebp - 0x10], 0
jle 0x1001c313
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x2c], 0
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1001c2fd
cmp dword [ebp - 0x28], 4
jne 0x1001c2fb
jmp 0x1001c313
jmp 0x1001c308
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1001c313
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
jmp 0x1001c2b8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001c330
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001c363
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x1001c3d5
push 0
push 0
push 0
push 0
push 0x1002b46c
mov eax, dword [ebp + 8]
push eax
push 1
push 2
push 0x110
push 0xf01ff
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001c3a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1001c3c8
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001cc30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x1001cc44
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x1001cc48
xor al, al
jmp 0x1001cc71
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1001cc61
xor al, al
jmp 0x1001cc71
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x1001cc6f
xor al, al
jmp 0x1001cc71
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10024680
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
jne 0x100246a1
xor al, al
jmp 0x10024711
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x100246b7
xor al, al
jmp 0x10024711
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10024704
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100246f0
mov byte [ebp - 1], 1
jmp 0x10024704
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100246d5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret

Function at 0x10024780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
call fcn.10022c50
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.1000c7f0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x40
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x100247e1
xor eax, eax
jmp 0x100247f2
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10024800
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x10024832
xor eax, eax
jmp 0x100248ca
mov dword [ebp - 8], 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1002485c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100248ca
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
jbe 0x100248bb
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
xor eax, 0x78338e37
mov dword [ebp - 0x10], eax
push 1
push 0
push 0xfffffffffffffffc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 8]
sub edx, 4
mov dword [ebp - 8], edx
jmp 0x10024863
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10024a40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.10022c50
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0xc], 0
mov dword [ebp - 8], 1
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0x100248d0
push 0
push 0
call fcn.1000c697
add esp, 0x18
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx ecx, byte [ebp - 0xc]
test ecx, ecx
jne 0x10024b0c
mov dword [ebp - 8], 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0x100248d0
push 0
push 0
call fcn.1000c697
add esp, 0x18
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx ecx, byte [ebp - 0xc]
test ecx, ecx
jne 0x10024b02
mov dword [ebp - 8], 1
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0x100248d0
push 0
push 0
call fcn.1000c697
add esp, 0x18
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10024b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.10024420
mov dword [ebp - 4], 0x1002d350
mov dword [ebp - 0xc], str.SupplyID
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10024bc8
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10024bb8
lea ecx, [ebp - 0x218]
push ecx
push 0x1002d394
mov edx, dword [ebp + 8]
push edx
call fcn.10005570
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10024bc6
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10024bd6
jmp 0x10024bcc
xor eax, eax
jmp 0x10024bd6
call fcn.10024250
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret

Function at 0x10024cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.10023d00
mov dword [ebp - 4], 0x1002d3dc
mov dword [ebp - 0xc], 0x1002d40c
mov word [ebp - 0x218], 0
push 0x1fe
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.1000c7f0
add esp, 0xc
mov dword [ebp - 0x21c], 0x100
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
mov edx, dword [ebp - 4]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10024d7a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10024d74
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003de0
jmp 0x10024d78
xor eax, eax
jmp 0x10024d88
jmp 0x10024d7e
xor eax, eax
jmp 0x10024d88
call fcn.10023ac0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret
Function at 0x10024da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.10024090
mov dword [ebp - 4], 0x1002d39c
mov dword [ebp - 0xc], str.Version
mov word [ebp - 0x218], 0
push 0x1fe
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.1000c7f0
add esp, 0xc
mov dword [ebp - 0x21c], 0x100
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 4]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10024e4a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10024e44
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003de0
jmp 0x10024e48
xor eax, eax
jmp 0x10024e58
jmp 0x10024e4e
xor eax, eax
jmp 0x10024e58
call fcn.10023ec0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret