joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466f70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5dae84
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax]
mov ebp, dword [esp + 0x104]
xor edi, edi
mov dword [esp + 0x18], ecx
mov ebx, 7
xor edx, edx
mov ecx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov word [esp + 0x20], dx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x466fe0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x20]
call fcn.0040d4e0
mov dword [esp + 0xf8], edi
mov eax, esi
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00438520
mov byte [esp + 0xf8], 2
cmp dword [esp + 0x34], 8
jb 0x467029
mov edx, dword [esp + 0x20]
push edx
call fcn.0059392f
add esp, 4
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe4], edi
mov word [esp + 0xd4], cx
mov byte [esp + 0xf8], 3
push 0x3b
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.0043edd0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x467149
cmp dword [esp + 0xe8], 8
mov ecx, dword [esp + 0xd4]
jae 0x4670a6
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x14]
push edx
call fcn.0040b8a0
mov byte [esp + 0xf8], 4
mov esi, dword [ebp]
cmp dword [esi - 0xc], edi
je 0x4670d3
push esi
lea eax, [esp + 0x18]
call fcn.0041d830
mov ebx, eax
mov eax, esi
call fcn.0041d890
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
lea ebx, [esp + 0x40]
call fcn.0041d270
mov byte [esp + 0xf8], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46710e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3b
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.0043edd0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x46708e
mov ebx, 7
mov byte [esp + 0xf8], 2
cmp dword [esp + 0xe8], 8
jb 0x46716b
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.0059392f
add esp, 4
xor edx, edx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe4], edi
mov word [esp + 0xd4], dx
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.004385c0
lea ecx, [esp + 0x98]
call fcn.0040ae70
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0059393a
add esp, 0xe8
ret
Function at 0x4685d0
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push 0xffffffffffffffff
push 0x5d236d
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
push 0x400
lea eax, [esp + 0x40]
xor ebx, ebx
push eax
mov esi, edx
push ebx
mov edi, ecx
mov dword [esp + 0x28], esi
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 0x46874c
cmp dword [edi + 0x78], ebx
je 0x468654
cmp dword [edi + 0x7c], 8
jb 0x468651
mov ebx, dword [edi + 0x68]
jmp 0x468654
lea ebx, [edi + 0x68]
xor ecx, ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468672
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
lea esi, [esp + 0x24]
call fcn.0040d4e0
mov dword [esp + 0x848], 1
mov eax, 8
cmp dword [edi + 0x98], eax
jb 0x4686af
mov edx, dword [edi + 0x84]
jmp 0x4686b5
lea edx, [edi + 0x84]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x38], eax
jae 0x4686c3
lea esi, [esp + 0x24]
cmp dword [edi + 0x60], eax
jb 0x4686cd
mov ecx, dword [edi + 0x4c]
jmp 0x4686d0
lea ecx, [edi + 0x4c]
cmp dword [edi + 0x44], eax
jb 0x4686da
mov eax, dword [edi + 0x30]
jmp 0x4686dd
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 0x46871b
mov edx, dword [esp + 0x24]
push edx
call fcn.0059392f
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push 7
xor eax, eax
push esi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov dword [esp + 0x24], 0x493e0
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.00468ce0
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.0059393a
add esp, 0x838
ret
Function at 0x468850
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x114], eax
cmp byte [esi + 0x24], 0
push ebp
mov ebp, dword [esp + 0x120]
je 0x46888c
mov al, 1
pop ebp
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0059393a
add esp, 0x118
ret 8
cmp ebp, 2
jne 0x46889a
mov dword [esi + 0xc], 0
jmp 0x4688f2
mov eax, dword [0x6eaf34]
push edi
xor edi, edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4688b1
lea edi, [eax + 1]
push 0x114
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.005985f0
add esp, 0xc
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4688eb
cmp dword [esp + 0xc], 6
jb 0x4688eb
or edi, 0x104
jmp 0x4688ee
or edi, 4
mov dword [esi + 0xc], edi
pop edi
mov eax, dword [esp + 0x124]
mov dword [esi + 8], ebp
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], eax
cmp ebp, 4
je 0x468920
cmp ebp, 1
je 0x468920
mov eax, dword [0x6d7610]
inc eax
mov dword [0x6d7610], eax
mov dword [esi + 0x18], eax
jmp 0x468927
mov dword [esi + 0x18], 0
mov edx, dword [esi + 0x20]
lea ecx, [esi + 4]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov ecx, dword [esp + 0x118]
test eax, eax
setne al
pop ebp
xor ecx, esp
call fcn.0059393a
add esp, 0x118
ret 8

Function at 0x468960
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6a40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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 0x468a34
cmp dword [ebx + 0x44], 8
jb 0x4689b5
mov ecx, dword [ebx + 0x30]
jmp 0x4689b8
lea ecx, [ebx + 0x30]
push 0xf01ff
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, edi
je 0x468a34
lea edi, [ebx + 4]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x468a25
cmp dword [ebx + 8], 1
je 0x468a1e
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x468a25
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x468a25
cmp dword [ebx + 8], 3
jne 0x468a12
push 0x1f4
jmp 0x4689f3
cmp dword [ebx + 8], 1
jne 0x468a25
or dword [ebp - 0x14], 2
jmp 0x468a25
mov dword [ebp - 0x14], 2
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x468a34
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 0x468ce0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5cedb1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x6d26f8]
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.0040d430
mov dword [esp + 0x34], 1
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x468d40
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x14]
call fcn.0040d350
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.0040d430
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
jb 0x468d95
mov edx, dword [esp + 0x14]
push edx
call fcn.0059392f
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 0x472c80
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5d2131
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov edi, edx
push edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.0040b7e0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x37
mov dword [esp + 0x20], 0x31
mov dword [esp + 0x24], 0x32
mov dword [esp + 0x28], 0x33
mov dword [esp + 0x2c], 0x34
mov dword [esp + 0x30], 0x35
mov dword [esp + 0x34], 0x36
cmp esi, 7
jae 0x472e0e
mov edi, dword [esp + esi*4 + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push ebx
push ebx
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jle 0x472e2f
mov dword [esp + 0x30], ebx
xor ecx, ecx
push ebx
mov ebx, eax
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov word [esp + 0x24], cx
call fcn.00439bb0
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x472d6f
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push edx
push eax
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x472d8d
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472d90
mov ecx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, ecx
ja 0x472dbc
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b3a0
mov esi, 8
jmp 0x472dcb
mov eax, ebx
push 0
sub eax, ecx
lea ebx, [esp + 0x20]
call fcn.00439b50
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x472dd9
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x14]
call fcn.0040b9c0
xor ebx, ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0x34], esi
jb 0x472dfb
mov eax, dword [esp + 0x20]
push eax
call fcn.0059392f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0059393a
add esp, 0x34
ret
mov eax, dword [esp + 0x14]
jmp 0x472e10
Function at 0x472e40
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5d20e1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov edi, edx
push edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.0040b7e0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x24], 0x45
mov dword [esp + 0x28], 0x46
mov dword [esp + 0x2c], 0x47
mov dword [esp + 0x30], 0x48
mov dword [esp + 0x34], 0x49
mov dword [esp + 0x38], 0x4a
mov dword [esp + 0x3c], 0x4b
mov dword [esp + 0x40], 0x4c
mov dword [esp + 0x44], 0x4d
mov dword [esp + 0x48], 0x4e
mov dword [esp + 0x4c], 0x4f
cmp esi, 0xd
jae 0x472ffe
mov edi, dword [esp + esi*4 + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push ebx
push ebx
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jle 0x47301f
mov dword [esp + 0x30], ebx
xor ecx, ecx
push ebx
mov ebx, eax
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov word [esp + 0x24], cx
call fcn.00439bb0
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x472f5b
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push edx
push eax
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x472f79
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472f80
mov ecx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, ecx
ja 0x472fac
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b3a0
mov esi, 8
jmp 0x472fbb
mov eax, ebx
push 0
sub eax, ecx
lea ebx, [esp + 0x20]
call fcn.00439b50
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x472fc9
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x14]
call fcn.0040b9c0
xor ebx, ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x34], esi
jb 0x472feb
mov eax, dword [esp + 0x20]
push eax
call fcn.0059392f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0059393a
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
jmp 0x473000
Function at 0x473030
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5d20e1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov edi, edx
push edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.0040b7e0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x38
mov dword [esp + 0x24], 0x39
mov dword [esp + 0x28], 0x3a
mov dword [esp + 0x2c], 0x3b
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x3d
mov dword [esp + 0x38], 0x3e
mov dword [esp + 0x3c], 0x3f
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x44], 0x41
mov dword [esp + 0x48], 0x42
mov dword [esp + 0x4c], 0x43
cmp esi, 0xd
jae 0x4731ee
mov edi, dword [esp + esi*4 + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push ebx
push ebx
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jle 0x47320f
mov dword [esp + 0x30], ebx
xor ecx, ecx
push ebx
mov ebx, eax
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov word [esp + 0x24], cx
call fcn.00439bb0
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x47314b
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push edx
push eax
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x473169
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473170
mov ecx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, ecx
ja 0x47319c
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b3a0
mov esi, 8
jmp 0x4731ab
mov eax, ebx
push 0
sub eax, ecx
lea ebx, [esp + 0x20]
call fcn.00439b50
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x4731b9
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x14]
call fcn.0040b9c0
xor ebx, ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x34], esi
jb 0x4731db
mov eax, dword [esp + 0x20]
push eax
call fcn.0059392f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0059393a
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
jmp 0x4731f0
Function at 0x4737a0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x5d58bf
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00449770
mov dword [esp + 0x490], 0
nop
mov eax, dword [esp + 0x250]
mov byte [esp + 0x24c], 0
cmp eax, 0xffffffff
je 0x473834
cmp byte [esp + 0x1c], 0
jne 0x47381d
lea ecx, [esp + 0x20]
push ecx
push eax
mov byte [esp + 0x24], 1
call sub.KERNEL32.dll_Process32FirstW
jmp 0x473828
lea edx, [esp + 0x20]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x473834
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 0x473995
xor esi, esi
jmp 0x473860
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x258]
call fcn.00426c10
mov byte [esp + 0x490], 1
mov ecx, dword [esi + 0x6eb204]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x47398b
mov eax, dword [eax]
push ecx
push eax
call fcn.00593c0f
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 0x4738c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4738d8
add esi, 4
cmp esi, 0x14
jb 0x473860
jmp 0x4737f0
mov edi, 1
cmp dword [0x6d138c], edi
jl 0x473976
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
lea ecx, [esp + 0x25c]
call fcn.00426c10
mov byte [esp + 0x494], 3
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x498], 0
call fcn.00405ba0
add esp, 8
mov esi, eax
mov byte [esp + 0x490], 4
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x473938
mov eax, dword [eax + 4]
push eax
push esi
call fcn.0040da00
mov esi, dword [esi]
push esi
push str.CLEAN:_Removing_process__s
push str.USBUnhider::killProcessByNames
push edi
call fcn.00552bc2
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 0x473976
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.0042efe0
add esp, 4
jmp 0x4737f0
push 0x80004005
call fcn.00403d10
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x250]
test eax, eax
je 0x4739b2
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.0059393a
add esp, 0x484
ret
Function at 0x4742b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d2064
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
xor ebx, ebx
lea ecx, [esi + 0x20]
push ecx
mov ecx, str.Quick
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
call fcn.0040b8a0
mov dword [esp + 0x18], ebx
lea edx, [esi + 0x84]
push edx
mov dword [esi + 0x34], 0xffffffff
call fcn.0048d740
mov byte [esp + 0x18], 1
lea eax, [esi + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x18], 2
push ebx
call fcn.0059553b
mov dword [esi + 0xbc], eax
add esp, 4
lea eax, [esi + 0xc0]
push eax
call fcn.0041d1c0
mov byte [esp + 0x18], 3
lea ecx, [esi + 0xe0]
push ecx
call fcn.0040b610
mov byte [esp + 0x18], 4
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push 1
push 1
push ebx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x479990
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp byte [esp + 4], al
setne al
push eax
push 0x6d4a20
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [0x6eac48]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4799d7
push 0
push 0
push 0
push method.COMApiHandler.1.virtual_440
push 0
push 0
call fcn.005957cb
add esp, 0x18
mov dword [0x6eac48], eax
mov al, 1
ret 4