joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x584069
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x30]
cmp eax, 0x7d0
jne 0x44d052
mov esi, 1
jmp 0x44d0fc
cmp eax, 0x7d1
jne 0x44d063
mov esi, 2
jmp 0x44d0fc
cmp eax, 0x7d2
jne 0x44d074
mov esi, 4
jmp 0x44d0fc
cmp eax, 0x7d3
jne 0x44d082
mov esi, 8
jmp 0x44d0fc
cmp eax, 0x7d4
jne 0x44d090
mov esi, 0x10
jmp 0x44d0fc
cmp eax, 0x7d5
jne 0x44d09e
mov esi, 0x20
jmp 0x44d0fc
cmp eax, 0x7d6
jne 0x44d0ac
mov esi, 0x40
jmp 0x44d0fc
cmp eax, 0x7d7
jne 0x44d0ba
mov esi, 0x80
jmp 0x44d0fc
cmp eax, 0x7d8
jne 0x44d0c8
mov esi, 0x100
jmp 0x44d0fc
cmp eax, 0x7d9
jne 0x44d0d6
mov esi, 0x200
jmp 0x44d0fc
cmp eax, 0x7da
jne 0x44d0e4
mov esi, 1
jmp 0x44d0fc
cmp eax, 0x7db
jne 0x44d0f0
lea esi, [eax + 0x25]
jmp 0x44d0fc
cmp eax, 0x7dc
jne 0x44d12d
mov esi, 0x1000
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
call fcn.004026a0
mov dword [esp + 0x1c], 0
push eax
mov eax, esi
mov dword [esp + 0x10], 1
call fcn.00463330
add esp, 4
test al, al
je 0x44d12d
mov bl, 1
jmp 0x44d12f
xor bl, bl
mov dword [esp + 0x1c], 0xffffffff
test byte [esp + 0xc], 1
je 0x44d14c
and dword [esp + 0xc], 0xfffffffe
lea ecx, [esp + 0x10]
call fcn.00402750
xor eax, eax
test bl, bl
setne al
dec eax
and eax, 0x80004005
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x24
Function at 0x44d570
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push 0xffffffffffffffff
push 0x57e03d
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov eax, dword [esp + 0x850]
mov edi, ecx
push 0x400
lea ecx, [esp + 0x40]
xor ebx, ebx
push ecx
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
cmp ebp, ebx
je 0x44d6f1
cmp dword [edi + 0x78], ebx
je 0x44d5f9
cmp dword [edi + 0x7c], 8
jb 0x44d5f6
mov ebx, dword [edi + 0x68]
jmp 0x44d5f9
lea ebx, [edi + 0x68]
xor edx, edx
lea eax, [esp + 0x3c]
mov word [esp + 0x24], dx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44d617
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
lea esi, [esp + 0x24]
call fcn.0040e430
mov dword [esp + 0x848], 1
mov eax, 8
cmp dword [edi + 0x98], eax
jb 0x44d654
mov edx, dword [edi + 0x84]
jmp 0x44d65a
lea edx, [edi + 0x84]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x38], eax
jae 0x44d668
lea esi, [esp + 0x24]
cmp dword [edi + 0x60], eax
jb 0x44d672
mov ecx, dword [edi + 0x4c]
jmp 0x44d675
lea ecx, [edi + 0x4c]
cmp dword [edi + 0x44], eax
jb 0x44d67f
mov eax, dword [edi + 0x30]
jmp 0x44d682
lea eax, [edi + 0x30]
push 0
push ebx
push edx
push 0
push str.UIGroup
push esi
push 1
push 2
push 0x10
push 0xf01ff
push ecx
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
mov byte [esp + 0x848], 0
cmp dword [esp + 0x38], 8
jb 0x44d6c0
mov eax, dword [esp + 0x24]
push eax
call fcn.004fdb3f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
test esi, esi
je 0x44d6f1
lea edx, [esp + 0x18]
push edx
push 1
push esi
mov dword [esp + 0x24], str.Helps_protect_users_from_malware_and_other_potentially_unwanted_software
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov esi, dword [esp + 0x1c]
add edi, 0x48
push edi
push esi
mov edi, str._installed.
call fcn.0044daf0
add esp, 8
mov dword [esp + 0x848], 0
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x838
ret 4
Function at 0x44d830
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578230
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
je 0x44d904
cmp dword [ebx + 0x44], 8
jb 0x44d885
mov ecx, dword [ebx + 0x30]
jmp 0x44d888
lea ecx, [ebx + 0x30]
push 0xf01ff
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, edi
je 0x44d904
lea edi, [ebx + 4]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44d8f5
cmp dword [ebx + 8], 1
je 0x44d8ee
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x44d8f5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44d8f5
cmp dword [ebx + 8], 3
jne 0x44d8e2
push 0x1f4
jmp 0x44d8c3
cmp dword [ebx + 8], 1
jne 0x44d8f5
or dword [ebp - 0x14], 2
jmp 0x44d8f5
mov dword [ebp - 0x14], 2
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x44d904
or dword [ebp - 0x14], 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44daf0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x57c211
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
call fcn.0040e380
mov dword [esp + 0x34], 1
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44db50
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x14]
call fcn.0040e2a0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0xffffffffffffffff
mov word [esi + 4], cx
push ebx
mov ecx, esi
call fcn.0040e380
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
jb 0x44dba5
mov edx, dword [esp + 0x14]
push edx
call fcn.004fdb3f
add esp, 4
xor eax, eax
mov word [esp + 0x14], ax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x44ee50
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push 8
mov esi, eax
call fcn.004fdddd
add esp, 4
test eax, eax
je 0x44ee6e
push eax
call fcn.00445c80
mov ebp, eax
jmp 0x44ee70
xor ebp, ebp
lea eax, [ebp + 4]
test esi, esi
jne 0x44ee7b
xor ecx, ecx
jmp 0x44ee91
mov ecx, esi
push edi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x44ee81
sub ecx, edi
sar ecx, 1
pop edi
push esi
mov ebx, ecx
call fcn.004028e0
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x44eea5
xor eax, eax
jmp 0x44eebf
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44eeb0
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
mov eax, ebp
call fcn.004028e0
push 0
push 0
push ebp
push 0x44ee20
push 0
push 0
call fcn.004ff05b
add esp, 0x18
mov esi, eax
push 0x493e0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
xor eax, eax
cmp dword [esp + 0xc], 5
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret 4
Function at 0x451a50
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x58032f
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0043cbc0
mov dword [esp + 0x490], 0
nop
mov eax, dword [esp + 0x250]
mov byte [esp + 0x24c], 0
cmp eax, 0xffffffff
je 0x451ae4
cmp byte [esp + 0x1c], 0
jne 0x451acd
lea ecx, [esp + 0x20]
push ecx
push eax
mov byte [esp + 0x24], 1
call sub.KERNEL32.dll_Process32FirstW
jmp 0x451ad8
lea edx, [esp + 0x20]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x451ae4
mov byte [esp + 0x24c], 1
cmp byte [esp + 0x24c], 0
mov ecx, 0x8c
lea esi, [esp + 0x20]
lea edi, [esp + 0x254]
rep movsd dword es:[edi], dword [esi]
je 0x451c45
xor esi, esi
jmp 0x451b10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x258]
call fcn.0043ccb0
mov byte [esp + 0x490], 1
mov ecx, dword [esi + 0x66b534]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x451c3b
mov eax, dword [eax]
push ecx
push eax
call fcn.004ff23a
add esp, 8
test eax, eax
sete bl
mov byte [esp + 0x490], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451b77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x451b88
add esi, 4
cmp esi, 0x14
jb 0x451b10
jmp 0x451aa0
mov edi, 1
cmp dword [0x65236c], edi
jl 0x451c26
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
lea ecx, [esp + 0x25c]
call fcn.0043ccb0
mov byte [esp + 0x494], 3
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x498], 0
call fcn.004060e0
add esp, 8
mov esi, eax
mov byte [esp + 0x490], 4
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x451be8
mov eax, dword [eax + 4]
push eax
push esi
call fcn.0040e950
mov esi, dword [esi]
push esi
push str.CLEAN:_Removing_process__s
push str.USBUnhider::killProcessByNames
push edi
call fcn.004fa3c2
add esp, 0x10
mov byte [esp + 0x490], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x25c]
push ecx
call fcn.0042a030
add esp, 4
jmp 0x451aa0
push 0x80004005
call fcn.00401000
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x250]
test eax, eax
je 0x451c62
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x484
ret
Function at 0x4570c0
Capabilities:
Create thread

Disassembly:
xor eax, eax
test bl, bl
setne al
push eax
push 0x65640c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [0x66b074]
test ecx, ecx
je 0x4570fa
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
test bl, bl
setne al
movzx eax, al
push eax
call edx
mov ecx, dword [0x66b074]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, dword [0x66b078]
test ecx, ecx
je 0x457121
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
test bl, bl
setne dl
movzx edx, dl
push edx
call eax
mov ecx, dword [0x66b078]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [0x66b0b4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x45715f
movzx edx, bl
push 0
neg edx
push 0
sbb edx, edx
and edx, 0xdbba0
push edx
push 0x453980
push 0
push 0
call fcn.004ff05b
add esp, 0x18
mov dword [0x66b0b4], eax
mov al, 1
ret
Function at 0x45a420
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x57aae8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x64
lea esi, [esp + 0x20]
mov edi, ecx
or ebp, 0xffffffff
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00468e90
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x2c]
dec eax
mov esi, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x45a495
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x48]
push ebx
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x45a4eb
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45a4eb
mov edi, eax
cmp eax, dword [esp + 0x2c]
jbe 0x45a4c1
call fcn.004fe843
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x45a4cf
lea eax, [esp + 0x1c]
mov byte [eax + edi], bl
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x45a4e0
lea eax, [esp + 0x1c]
push eax
call fcn.0050096b
add esp, 4
mov ebp, eax
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], esi
jb 0x45a506
mov eax, dword [esp + 0x1c]
push eax
call fcn.004fdb3f
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x30
ret
Function at 0x45bfe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57ffe0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, 3
mov dword [esp + 0x1c], ebx
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.0040cbb0
mov byte [esp + 0x20], 4
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x24], bl
call fcn.004060e0
mov byte [esp + 0x24], 5
mov eax, dword [eax]
add esp, 4
mov dword [esp + 0x14], esp
mov esi, esp
push 0xffffffffffffffff
push eax
call fcn.00483890
add esp, 8
mov dword [esi], eax
mov byte [esp + 0x20], 6
push str.LastObject
push str.Stats
mov byte [esp + 0x28], 5
call fcn.00402380
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0xc]
call fcn.0040ca90
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.0040cbb0
mov byte [esp + 0x20], 7
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x24], bl
call fcn.004060e0
mov byte [esp + 0x24], 8
mov eax, dword [eax]
add esp, 4
mov dword [esp + 0x14], esp
mov esi, esp
push 0xffffffffffffffff
push eax
call fcn.00483890
add esp, 8
mov dword [esi], eax
mov byte [esp + 0x20], 9
push str.LastThreat
push str.Stats
mov byte [esp + 0x28], 8
call fcn.00402380
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0xc]
call fcn.0040ca90
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.0040cbb0
mov byte [esp + 0x20], 0xa
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x24], bl
call fcn.004060e0
mov byte [esp + 0x24], 0xb
mov eax, dword [eax]
add esp, 4
mov dword [esp + 0x14], esp
mov esi, esp
push 0xffffffffffffffff
push eax
call fcn.00483890
add esp, 8
mov dword [esi], eax
mov byte [esp + 0x20], 0xc
push str.LastRisk
push str.Stats
mov byte [esp + 0x28], 0xb
call fcn.00402380
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0xc]
call fcn.0040ca90
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.0040cbb0
mov byte [esp + 0x20], 0xd
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x24], bl
call fcn.004060e0
mov byte [esp + 0x24], 0xe
mov eax, dword [eax]
add esp, 4
mov dword [esp + 0x14], esp
mov esi, esp
push 0xffffffffffffffff
push eax
call fcn.00483890
add esp, 8
mov dword [esi], eax
mov byte [esp + 0x20], 0xf
push str.LastAction
push str.Stats
mov byte [esp + 0x28], 0xe
call fcn.00402380
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0xc]
call fcn.0040ca90
mov byte [esp + 0x1c], 2
lea ecx, [esp + 0x24]
call fcn.00402750
mov byte [esp + 0x1c], 1
lea ecx, [esp + 0x28]
call fcn.00402750
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x2c]
call fcn.00402750
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402750
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x10
Function at 0x45c240
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x66b0b0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 8
call fcn.004fdddd
add esp, 4
test eax, eax
je 0x45c266
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov esi, eax
jmp 0x45c268
xor esi, esi
mov cl, byte [esp + 8]
mov dword [esi], edi
mov byte [esi + 4], cl
mov edx, dword [edi + 0xc4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x45c2a3
push 0
push 0
push esi
push 0x45b700
push 0
push 0
call fcn.004ff05b
add esp, 0x18
mov dword [edi + 0xc4], eax
pop esi
ret 4

Function at 0x45c2b0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x586853
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [0x66b62c]
cmp ecx, ebx
je 0x45c308
mov eax, dword [0x66b630]
push eax
call fcn.00468790
mov ecx, dword [0x66b62c]
push ecx
call fcn.004fe160
add esp, 8
mov dword [0x66b62c], ebx
mov edx, dword [0x66b0a4]
push edx
mov dword [0x66b630], ebx
mov dword [0x66b634], ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp + 0xc8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x45c39d
lea edi, [ebp + 0x28]
lea eax, [esp + 0x28]
call fcn.0040e9d0
push 8
call fcn.004fdddd
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x1c], 1
cmp eax, ebx
je 0x45c36a
mov byte [eax + 5], bl
mov esi, eax
jmp 0x45c36c
xor esi, esi
mov byte [esp + 0x1c], bl
mov dl, byte [esp + 0x2c]
mov al, byte [esp + 0x30]
mov dword [esi], ebp
mov byte [esi + 4], dl
mov byte [esi + 5], al
call fcn.00452770
push ebx
push ebx
push esi
push 0x458ee0
push ebx
push ebx
call fcn.004ff05b
add esp, 0x18
mov dword [ebp + 0xc8], eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00402750
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x460d90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.WriteProtect
push str.SYSTEMCurrentControlSetControlStorageDevicePolicies
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [esp], eax
setne al
add esp, 0xc
ret

Function at 0x460de0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583d4a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6531f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, cl
xor eax, eax
test bl, bl
setne al
mov dword [ebp - 0x40], eax
push 4
lea ecx, [ebp - 0x40]
push ecx
push 4
push str.WriteProtect
push str.SYSTEMCurrentControlSetControlStorageDevicePolicies
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test bl, bl
mov ecx, str.Enabled
jne 0x460e45
mov ecx, str.Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push edx
call fcn.004026a0
mov dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push eax
mov ecx, 0x636ff8
call fcn.004026a0
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.00445be0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x34]
push ecx
call fcn.00417040
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x34]
call fcn.004194b0
test al, al
je 0x460eda
test bl, bl
mov ecx, str.Enabled
jne 0x460ea8
mov ecx, str.Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
call fcn.004026a0
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
mov ecx, str.USB_Write_Protection
call fcn.0041bef0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 3
call fcn.0041a130
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
push edx
call fcn.004170a0
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fdb4a
mov esp, ebp
pop ebp
ret

Function at 0x460f20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.Start
push str.SYSTEMCurrentControlSet_servicesUSBSTOR
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [esp], 4
sete al
add esp, 0xc
ret
Function at 0x460f70
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5820aa
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6531f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, cl
xor eax, eax
test bl, bl
setne al
add eax, 3
mov dword [ebp - 0x38], eax
push 4
lea ecx, [ebp - 0x38]
push ecx
push 4
push str.Start
push str.SYSTEMCurrentControlSet_servicesUSBSTOR
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
call fcn.004fdddd
add esp, 4
test eax, eax
je 0x460fe0
mov dword [eax], 0
jmp 0x460fe2
xor eax, eax
movzx edx, bl
mov dword [eax], edx
push eax
push 7
call fcn.00420890
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00417040
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x34]
call fcn.004194b0
test al, al
je 0x461051
test bl, bl
mov ecx, 0x6343e8
jne 0x46101f
mov ecx, str.Protection_Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
call fcn.004026a0
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x40], esp
push eax
mov ecx, str.Device
call fcn.004026a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 1
call fcn.0041a130
mov byte [ebp - 4], 0
lea edx, [ebp - 0x34]
push edx
call fcn.004170a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fdb4a
mov esp, ebp
pop ebp
ret