joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4482dd
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5be60a
call fcn.00580e9e
xor esi, esi
mov dword [ebp - 4], esi
push dword [0x6c947c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
push esi
push esi
push 0x440112
push esi
push esi
call fcn.005755cb
add esp, 0x18
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00580f43
ret 0x14

Function at 0x44836b
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x5b40b7
call fcn.00580e6b
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.00408561
and dword [ebp - 4], 0
push str.SoftwareVibraniumHomeGlobal
lea eax, [ebp - 0x10]
push eax
call fcn.00408561
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.Renewed
push dword [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004085a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004085a2
xor eax, eax
call fcn.00580f43
ret 0x14

Function at 0x44852a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bd7cc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6b06f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push dword [ebp + 0x14]
lea eax, [esp + 8]
push eax
call fcn.00408561
and dword [esp + 0x38], 0
lea eax, [esp + 4]
call fcn.004087b3
lea eax, [esp + 0xc]
push eax
call fcn.00413c0a
mov byte [esp + 0x38], 1
push 0x670fd0
lea eax, [esp + 0xc]
push eax
call fcn.00408561
mov byte [esp + 0x38], 2
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.00448422
pop ecx
pop ecx
mov byte [esp + 0x38], 1
lea ecx, [esp + 8]
call fcn.004085a2
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
call fcn.00424df4
pop ecx
mov byte [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
call fcn.00412840
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 4]
call fcn.004085a2
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x449287
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x6b06f8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x30
mov eax, 0x5b0c4b
call fcn.00580e6b
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x18], eax
push 0x400
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
mov edi, ecx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x449398
cmp dword [edi + 0x78], ebx
jne 0x4492ed
mov dword [ebp - 0x10], ebx
jmp 0x4492fe
cmp dword [edi + 0x7c], 8
jb 0x4492f8
mov eax, dword [edi + 0x68]
jmp 0x4492fb
lea eax, [edi + 0x68]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
lea esi, [ebp - 0x3c]
call fcn.004081bb
mov dword [ebp - 4], 1
lea ecx, [edi + 0x80]
cmp dword [ecx + 0x18], 8
jb 0x449322
mov esi, dword [ecx + 4]
jmp 0x449325
lea esi, [ecx + 4]
cmp dword [eax + 0x18], 8
jb 0x449330
mov ecx, dword [eax + 4]
jmp 0x449333
lea ecx, [eax + 4]
cmp dword [edi + 0x60], 8
jb 0x44933e
mov edx, dword [edi + 0x4c]
jmp 0x449341
lea edx, [edi + 0x4c]
cmp dword [edi + 0x44], 8
jb 0x44934c
mov eax, dword [edi + 0x30]
jmp 0x44934f
lea eax, [edi + 0x30]
push ebx
push dword [ebp - 0x10]
push esi
push ebx
push str.UIGroup
push ecx
push 1
push 2
push 0x10
push 0xf01ff
push edx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], bl
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00409c0f
lea eax, [ebp - 0x1c]
push eax
push 7
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0x493e0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push str._installed.
add edi, 0x48
push edi
push dword [ebp - 0x18]
call fcn.0044978c
add esp, 0xc
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0057372c
add ebp, 0x804
leave
ret 4
Function at 0x44945b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6b06f8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 0x24], 0
je 0x44947b
mov al, 1
jmp 0x449525
cmp dword [ebp + 8], 2
jne 0x449487
and dword [esi + 0xc], 0
jmp 0x4494e5
push edi
xor edi, edi
push edi
push dword [0x6c8f34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44949c
inc edi
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.005783f0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4494de
cmp dword [ebp - 0x114], 6
jb 0x4494de
or edi, 0x104
jmp 0x4494e1
or edi, 4
mov dword [esi + 0xc], edi
pop edi
mov eax, dword [ebp + 8]
and dword [esi + 0x10], 0
mov ecx, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0x1c], ecx
cmp eax, 4
je 0x44950f
cmp eax, 1
je 0x44950f
inc dword [0x6b5610]
mov eax, dword [0x6b5610]
mov dword [esi + 0x18], eax
jmp 0x449513
and dword [esi + 0x18], 0
lea eax, [esi + 4]
push eax
push dword [esi + 0x20]
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057372c
leave
ret 8

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

Disassembly:
push 0xc
mov eax, 0x5a67fd
call fcn.00580e9e
mov esi, 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 0x4495ed
cmp dword [esi + 0x44], 8
jb 0x449569
mov ecx, dword [esi + 0x30]
jmp 0x44956c
lea ecx, [esi + 0x30]
push 0xf01ff
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4495ed
lea ebx, [esi + 4]
push ebx
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
call edi
test eax, eax
je 0x4495dc
cmp dword [esi + 8], 1
je 0x4495d5
push ebx
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4495dc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x4495dc
cmp dword [esi + 8], 3
jne 0x4495c9
push 0x1f4
jmp 0x4495ac
cmp dword [esi + 8], 1
jne 0x4495dc
or dword [ebp - 0x14], 2
jmp 0x4495dc
mov dword [ebp - 0x14], 2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x4495ed
or dword [ebp - 0x14], 4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.00580f43
ret
Function at 0x44a203
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b6cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x6b06f8]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x6b06f8]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov esi, ecx
call fcn.004137bf
and dword [esp + 0x858], 0
lea ebx, [esp + 0x2c]
call fcn.0041ca36
lea eax, [esi + 0x84]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x858], 1
lea eax, [esi + 0x34]
mov dword [esp + 0x24], eax
call fcn.0044eda8
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
xor ebx, ebx
sar eax, 2
test eax, eax
jbe 0x44a38b
lea eax, [esp + 0x20]
push eax
mov edi, ebx
lea esi, [esp + 0x30]
call fcn.00413946
push eax
push 2
pop ecx
call fcn.004265d2
mov dword [esp + 0x28], eax
mov byte [esp + 0x858], 2
call fcn.00413946
mov edi, eax
mov eax, dword [esp + 0x28]
call fcn.004085c5
mov byte [esp + 0x858], 1
lea ecx, [esp + 0x20]
call fcn.004085a2
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push eax
call fcn.005783f0
add esp, 0xc
mov edi, ebx
call fcn.00413946
mov eax, dword [eax]
push 0x400
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x44a377
lea eax, [esp + 0x10]
push eax
call fcn.004497da
mov byte [esp + 0x858], 3
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00408606
call fcn.00413946
lea edi, [esp + 0x14]
call fcn.004085c5
lea eax, [esp + 0x10]
call fcn.004087b3
mov eax, edi
call fcn.004087b3
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
call fcn.0044ed41
mov byte [esp + 0x858], 1
lea eax, [esp + 0x10]
push eax
call fcn.0044a3d3
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x44a29a
mov byte [esp + 0x858], 0
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or dword [esp + 0x858], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.0041391c
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0057372c
mov esp, ebp
pop ebp
ret
Function at 0x4515cf
Capabilities:
Get geographical location

Disassembly:
push 0x2c
mov eax, 0x5ae8e0
call fcn.00580ed4
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
call fcn.0040850b
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x2c], 0x37
mov dword [ebp - 0x28], 0x31
mov dword [ebp - 0x24], 0x32
mov dword [ebp - 0x20], 0x33
mov dword [ebp - 0x1c], 0x34
mov dword [ebp - 0x18], 0x35
mov dword [ebp - 0x14], 0x36
cmp esi, 7
jae 0x4516c5
mov esi, dword [ebp + esi*4 - 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push edi
push edi
push esi
mov dword [ebp - 0x38], esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, edi
jle 0x4516c5
push eax
lea esi, [ebp - 0x2c]
call fcn.0042b336
mov dword [ebp - 4], 1
push dword [ebp - 0x18]
mov eax, esi
call fcn.004260b2
push eax
push dword [ebp - 0x38]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x451685
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x451688
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.004260d2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4516ac
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call fcn.00408606
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409c0f
mov eax, dword [ebp - 0x30]
call fcn.00580f57
ret
Function at 0x4516ce
Capabilities:
Get geographical location

Disassembly:
push 0x44
mov eax, 0x5b0a82
call fcn.00580ed4
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
call fcn.0040850b
mov dword [ebp - 4], esi
xor edi, edi
inc edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x44
mov dword [ebp - 0x3c], 0x45
mov dword [ebp - 0x38], 0x46
mov dword [ebp - 0x34], 0x47
mov dword [ebp - 0x30], 0x48
mov dword [ebp - 0x2c], 0x49
mov dword [ebp - 0x28], 0x4a
mov dword [ebp - 0x24], 0x4b
mov dword [ebp - 0x20], 0x4c
mov dword [ebp - 0x1c], 0x4d
mov dword [ebp - 0x18], 0x4e
mov dword [ebp - 0x14], 0x4f
cmp ebx, 0xd
jae 0x4517e7
mov ebx, dword [ebp + ebx*4 - 0x44]
push esi
push esi
push ebx
mov dword [ebp - 0x50], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, esi
jle 0x4517e7
push eax
lea esi, [ebp - 0x2c]
call fcn.0042b336
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
xor edi, edi
mov eax, esi
call fcn.004260b2
push eax
push dword [ebp - 0x50]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4517a7
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4517aa
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.004260d2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4517ce
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call fcn.00408606
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409c0f
mov eax, dword [ebp - 0x48]
call fcn.00580f57
ret
Function at 0x4517f0
Capabilities:
Get geographical location

Disassembly:
push 0x44
mov eax, 0x5b0a82
call fcn.00580ed4
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
call fcn.0040850b
mov dword [ebp - 4], esi
xor edi, edi
inc edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x38
mov dword [ebp - 0x3c], 0x39
mov dword [ebp - 0x38], 0x3a
mov dword [ebp - 0x34], 0x3b
mov dword [ebp - 0x30], 0x3c
mov dword [ebp - 0x2c], 0x3d
mov dword [ebp - 0x28], 0x3e
mov dword [ebp - 0x24], 0x3f
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], 0x41
mov dword [ebp - 0x18], 0x42
mov dword [ebp - 0x14], 0x43
cmp ebx, 0xd
jae 0x451909
mov ebx, dword [ebp + ebx*4 - 0x44]
push esi
push esi
push ebx
mov dword [ebp - 0x50], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, esi
jle 0x451909
push eax
lea esi, [ebp - 0x2c]
call fcn.0042b336
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
xor edi, edi
mov eax, esi
call fcn.004260b2
push eax
push dword [ebp - 0x50]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4518c9
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4518cc
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.004260d2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4518f0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call fcn.00408606
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409c0f
mov eax, dword [ebp - 0x48]
call fcn.00580f57
ret
Function at 0x451c59
Capabilities:
Terminate process

Disassembly:
push 0x47c
mov eax, 0x5b3fe1
call fcn.00580ed4
lea eax, [ebp - 0x478]
push eax
call fcn.00431f44
and dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x478]
call fcn.00431fdd
cmp byte [ebp - 0x14], 0
je 0x451da5
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041a3b6
mov byte [ebp - 4], 1
push dword [esi + 0x6c9204]
push eax
call fcn.00408642
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x480]
call fcn.004085a2
test bl, bl
jne 0x451ce7
add esi, 4
cmp esi, 0x14
jb 0x451c9c
jmp 0x451d89
cmp dword [0x6af38c], 1
jl 0x451d4b
push ecx
mov eax, esp
mov dword [ebp - 0x484], esp
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041a3b6
mov byte [ebp - 4], 2
lea eax, [ebp - 0x47c]
push eax
mov byte [ebp - 4], 0
call fcn.004040c8
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov esi, eax
call fcn.004084f4
push eax
push str.CLEAN:_Removing_process__s
push str.USBUnhider::killProcessByNames
push 1
call fcn.00532962
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.00408461
push dword [ebp - 0x238]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x488], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x451d7e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x451d7e
mov byte [ebp - 4], 0
jmp 0x451d86
mov byte [ebp - 4], 0
test esi, esi
je 0x451d89
push esi
call edi
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x478]
call fcn.00431fdd
cmp byte [ebp - 0x14], 0
jne 0x451c9a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x478]
push eax
call fcn.00431fb1
call fcn.00580f57
ret
Function at 0x45669a
Capabilities:
Create thread

Disassembly:
push ebx
xor eax, eax
xor ebx, ebx
cmp byte [esp + 8], bl
setne al
push eax
push 0x6b2a20
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
push dword [0x6c8c48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4566dd
push ebx
push ebx
push ebx
push method.COMApiHandler.1.virtual_440
push ebx
push ebx
call fcn.005755cb
add esp, 0x18
mov dword [0x6c8c48], eax
mov al, 1
pop ebx
ret 4
Function at 0x456cc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b3d6a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6b06f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.0040850b
and dword [esp + 0x30], 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push eax
push str._0.2i:_0.2i:_0.2i
lea eax, [esp + 0x18]
call fcn.00417833
lea eax, [esp + 0x20]
push 0x672264
push eax
lea ecx, [esp + 0x20]
call fcn.0040fc53
mov byte [esp + 0x48], 1
push dword [ebp + 8]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.0040fc53
add esp, 0x20
mov byte [esp + 0x30], 2
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x34
call fcn.0041395f
mov byte [esp + 0x30], 1
lea ecx, [esp + 0xc]
call fcn.004085a2
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x10]
call fcn.004085a2
push dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x6c8a30]
push dword [ebp + 8]
add eax, 0xc0
push eax
call fcn.0046d9d4
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 8]
call fcn.004085a2
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x457251
Capabilities:
Get file version info

Disassembly:
push 0x34
mov eax, 0x5ad9c0
call fcn.00580e6b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.0040850b
xor edi, edi
inc edi
mov dword [ebp - 4], edi
add esi, 4
push esi
call fcn.0040850b
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x457378
mov edi, eax
lea ebx, [ebp - 0x20]
call fcn.0042694e
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x20]
push dword [edi]
xor ebx, ebx
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45736d
push dword [edi]
lea eax, [ebp - 0x40]
push eax
call fcn.004224b9
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
sub ecx, eax
sar ecx, 2
test ecx, ecx
jbe 0x457360
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._04x_04x
mov eax, esi
call fcn.00417833
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0040850b
mov byte [ebp - 4], 5
push dword [esi]
lea eax, [ebp - 0x1c]
push str.StringFileInfo_sFileVersion
call fcn.00417833
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov edi, dword [edi]
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x457354
cmp dword [ebp - 0x18], ebx
je 0x457354
cmp dword [ebp - 0x14], ebx
jbe 0x457354
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.0040ce50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004085a2
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
call fcn.00448a80
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x20]
call fcn.00426993
mov eax, dword [ebp + 8]
call fcn.00580f43
ret
Function at 0x45adad
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor ebx, ebx
push edi
sar eax, 2
xor edi, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
test eax, eax
jbe 0x45ae16
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00413946
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x45ae08
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
sbb ecx, dword [ebp - 0x14]
add dword [ebp - 8], eax
adc dword [ebp - 4], ecx
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x45adcf
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45df25
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.005737a7
mov esi, eax
pop ecx
test esi, esi
je 0x45df3e
push edi
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
jmp 0x45df40
xor esi, esi
mov al, byte [esp + 8]
push 0
mov dword [esi], ebx
mov byte [esi + 4], al
push dword [ebx + 0x144]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x45df78
xor eax, eax
push eax
push eax
push esi
push 0x464892
push eax
push eax
call fcn.005755cb
add esp, 0x18
mov dword [ebx + 0x144], eax
pop esi
ret 4
Function at 0x461401
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x5b8b64
call fcn.00580f0a
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 8], bl
setne al
mov dword [ebp - 0x40], eax
push 4
lea eax, [ebp - 0x40]
push eax
push 4
push str.WriteProtect
push str.SYSTEMCurrentControlSetControlStorageDevicePolicies
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp byte [ebp + 8], bl
mov eax, str.Enabled
jne 0x461446
mov eax, str.Disabled
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
push ecx
call fcn.00408561
mov dword [ebp - 4], ebx
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push 0x67e250
push eax
call fcn.00408561
mov byte [ebp - 4], 1
or dword [ebp - 4], 0xffffffff
call fcn.0043bc03
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.0040f817
mov byte [ebp - 4], 3
push ebx
lea ecx, [ebp - 0x34]
call fcn.004100fc
test al, al
je 0x4614d7
cmp byte [ebp + 8], bl
mov eax, str.Enabled
jne 0x4614a4
mov eax, str.Disabled
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
push ecx
call fcn.00408561
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push str.USB_Write_Protection
push eax
call fcn.0040f8bd
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.00410df3
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.0040f843
or dword [ebp - 4], 0xffffffff
call fcn.00580f66
ret 4

Function at 0x4614fa
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push 0x38
mov eax, 0x5b8b15
call fcn.00580f0a
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 8], bl
setne al
add eax, 3
mov dword [ebp - 0x3c], eax
push 4
lea eax, [ebp - 0x3c]
push eax
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.005737a7
pop ecx
mov ecx, eax
cmp ecx, ebx
je 0x461548
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
jmp 0x46154a
xor ecx, ecx
movzx eax, byte [ebp + 8]
mov dword [ecx], eax
push ecx
push 7
call fcn.00418e08
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040f817
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x38]
call fcn.004100fc
test al, al
je 0x4615b7
cmp byte [ebp + 8], bl
mov eax, 0x679894
jne 0x461584
mov eax, str.Protection_Disabled
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
push ecx
call fcn.00408561
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x44], esp
push str.Device
push eax
call fcn.00408561
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.00410df3
mov byte [ebp - 4], bl
lea eax, [ebp - 0x38]
push eax
call fcn.0040f843
or dword [ebp - 4], 0xffffffff
call fcn.00580f66
ret 4