joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441537
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x18
mov eax, 0x5c0953
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
call fcn.00408518
mov byte [ebp - 4], 1
push 0x683340
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.004260a9
cmp eax, 0xffffffff
je 0x441591
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
push ecx
mov ecx, eax
call fcn.004262f6
mov byte [ebp - 4], 2
mov edi, esi
call fcn.0040857c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00408559
push dword [ebp + 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.00408518
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
call fcn.0042613d
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 0x18]
call fcn.00423e5f
pop ecx
test al, al
jne 0x441702
mov eax, esi
push eax
call fcn.00420682
pop ecx
test al, al
je 0x4415f2
push dword [0x6de664]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
push eax
call fcn.004206ed
add esp, 0xc
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x441702
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x441624
test al, 0x10
je 0x441624
mov byte [ebp - 0x12], bl
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x12]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.0045c1fe
add esp, 0x14
jmp 0x441702
push dword [ebp - 0x18]
call fcn.0041cf79
pop ecx
mov esi, 0x80
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
push dword [ebp - 0x18]
call fcn.0041faac
pop ecx
pop ecx
push 1
lea esi, [ebp - 0x1c]
call fcn.00408793
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00408172
mov byte [ebp - 4], 4
lea esi, [ebp - 0x18]
call fcn.00408793
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00408172
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
call fcn.0045453d
add esp, 0x3c
mov byte [ebp - 0x11], bl
push 0x683344
lea eax, [ebp - 0x20]
push eax
call fcn.00408518
mov byte [ebp - 4], 6
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.004753c0
mov byte [ebp - 0x12], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00408559
cmp byte [ebp - 0x12], bl
je 0x4416dd
lea eax, [ebp - 0x11]
push eax
push 1
push ebx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040fbd7
lea ecx, [ebp - 0x20]
call fcn.00408418
cmp byte [ebp - 0x11], bl
jne 0x4416e6
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x68334c
lea eax, [ebp - 0x1c]
push eax
call fcn.004085f9
test eax, eax
jne 0x441702
mov ebx, dword [ebp - 0x18]
call fcn.0041f7c6
xor ebx, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00408559
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587133
ret 0x24
Function at 0x442636
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x5c4f1e
call fcn.005870fa
lea esi, [ebp + 0xc]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x1c]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push eax
call fcn.00408518
mov byte [ebp - 4], 1
push dword [ebp - 0x4c]
lea eax, [ebp - 0x38]
push eax
call fcn.00408518
mov byte [ebp - 4], 2
cmp dword [ebp + 0x34], ebx
jne 0x4426dd
push 1
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x40], esp
push dword [ebp - 0x3c]
call fcn.00408172
mov byte [ebp - 4], 3
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x44], esp
push dword [ebp - 0x38]
call fcn.00408172
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.0045453d
add esp, 0x3c
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x683498
lea eax, [ebp - 0x3c]
push eax
call fcn.004085f9
test eax, eax
jne 0x442701
mov ebx, dword [ebp - 0x38]
call fcn.0041f7c6
xor ebx, ebx
jmp 0x442701
cmp dword [ebp + 0x34], 1
jne 0x4426ec
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x442701
cmp dword [ebp + 0x34], 2
jne 0x442701
call fcn.004571f2
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.00465c07
lea eax, [ebp - 0x34]
push eax
call fcn.0040f899
mov byte [ebp - 4], 5
push ebx
lea ecx, [ebp - 0x34]
call fcn.00410181
test al, al
je 0x442728
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00411e57
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.0040f8c5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00408559
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587156
ret 0x34
Function at 0x442764
Capabilities:
Delete file

Disassembly:
push 0x80
mov eax, 0x5c4ecc
call fcn.005870fa
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x54]
push eax
call fcn.00413a77
mov byte [ebp - 4], 1
lea eax, [ebp - 0x6c]
push eax
call fcn.00413a77
mov byte [ebp - 4], 2
lea eax, [ebp - 0x88]
push eax
call fcn.00413a77
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6c]
push eax
lea esi, [ebp + 0xc]
call fcn.00420200
lea eax, [ebp - 0x54]
push eax
lea esi, [ebp + 0x1c]
call fcn.00420200
lea eax, [ebp - 0x88]
push eax
lea esi, [ebp + 0x2c]
call fcn.0042041b
add esp, 0xc
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x48]
sar eax, 2
cmp edi, eax
jae 0x4428bd
lea esi, [ebp - 0x88]
call fcn.00413f62
cmp dword [eax], 0
jne 0x442875
push 1
lea esi, [ebp - 0x6c]
call fcn.00413f62
mov eax, dword [eax]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.00408172
mov byte [ebp - 4], 4
lea esi, [ebp - 0x54]
call fcn.00413f62
mov eax, dword [eax]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.00408172
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
call fcn.0045453d
add esp, 0x3c
lea esi, [ebp - 0x54]
call fcn.00413f62
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.Lnk.Suspicious.Reputation
lea esi, [ebp - 0x6c]
call fcn.00413f62
push eax
call fcn.004085f9
test eax, eax
jne 0x4428b7
lea esi, [ebp - 0x54]
call fcn.00413f62
mov ebx, dword [eax]
call fcn.0041f7c6
jmp 0x4428b7
lea esi, [ebp - 0x88]
call fcn.00413f62
cmp dword [eax], 1
jne 0x44288f
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4428b7
lea esi, [ebp - 0x88]
call fcn.00413f62
cmp dword [eax], 2
jne 0x4428b7
call fcn.004571f2
mov ebx, eax
lea esi, [ebp - 0x54]
call fcn.00413f62
mov edx, eax
mov ecx, ebx
call fcn.00465c07
inc edi
jmp 0x4427cc
lea eax, [ebp - 0x34]
push eax
call fcn.0040f899
mov byte [ebp - 4], 6
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.00410181
test al, al
je 0x4428fe
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
sar eax, 2
cmp edi, eax
jae 0x4428fe
lea esi, [ebp - 0x6c]
call fcn.00413f62
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00411e57
inc edi
jmp 0x4428d9
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
call fcn.0040f8c5
mov byte [ebp - 4], 2
lea eax, [ebp - 0x88]
push eax
call fcn.0043d638
mov byte [ebp - 4], 1
lea eax, [ebp - 0x6c]
push eax
call fcn.00413aaf
mov byte [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
call fcn.00413aaf
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587156
ret 0x34
Function at 0x44294d
Capabilities:
Delete registry key

Disassembly:
push 8
mov eax, 0x5ae445
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], 1
jne 0x4429a2
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
push ebx
lea esi, [ebp - 0x14]
call fcn.00409488
push eax
push ebx
push 0x20006
push 1
push ebx
push ebx
push 0x683500
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x14], ebx
je 0x4429b2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4429b2
push 0x68353c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587133
ret 0x14
Function at 0x44463a
Capabilities:
Delete file
Set file attributes

Disassembly:
push 8
mov eax, 0x5b7842
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.00408518
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.0040876a
mov esi, dword [ebp - 0x14]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44468c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00408559
xor eax, eax
jmp 0x4446a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
mov eax, 0x80004005
call fcn.00587133
ret 0x14
Function at 0x445b20
Capabilities:
Terminate process

Disassembly:
push 4
mov eax, 0x5abc82
call fcn.0058708e
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0x14]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x445b52
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587133
ret 0x14

Function at 0x445baf
Capabilities:
Copy file

Disassembly:
push 0xc
mov eax, 0x5b77fc
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.00408518
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.00408518
mov byte [ebp - 4], 2
mov esi, dword [esi]
mov eax, dword [eax]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00408559
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587133
ret 0x24

Function at 0x44619f
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x5b4390
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x5c
mov esi, dword [ebp + 8]
call fcn.004260f6
mov esi, eax
lea eax, [ebp - 0x14]
push eax
call fcn.004084c2
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x44621e
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.004262f6
mov byte [ebp - 4], 2
lea edi, [ebp - 0x14]
call fcn.0040857c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00408559
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x44621e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44621e
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5c
mov esi, edi
call fcn.004260f6
mov esi, eax
jmp 0x4461c9
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
call fcn.00587133
ret
Function at 0x4475c6
Capabilities:
Shutdown system

Disassembly:
push 0x18
mov eax, 0x5abc4c
call fcn.0058708e
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4475f5
mov eax, 0x80004005
jmp 0x447641
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 2
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44763f
push 0x80020013
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587133
ret 4
Function at 0x447f8d
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5c5371
call fcn.0058708e
xor esi, esi
mov dword [ebp - 4], esi
push dword [0x6def08]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
push esi
push esi
push 0x43fc6c
push esi
push esi
call fcn.0057b57b
add esp, 0x18
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587133
ret 0x14

Function at 0x44801b
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x5b834b
call fcn.0058705b
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.00408518
and dword [ebp - 4], 0
push 0x68a048
lea eax, [ebp - 0x10]
push eax
call fcn.00408518
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 0x68a088
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.00408559
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408559
xor eax, eax
call fcn.00587133
ret 0x14

Function at 0x4481da
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c455e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6c56f8]
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.00408518
and dword [esp + 0x38], 0
lea eax, [esp + 4]
call fcn.0040876a
lea eax, [esp + 0xc]
push eax
call fcn.00413d70
mov byte [esp + 0x38], 1
push 0x684224
lea eax, [esp + 0xc]
push eax
call fcn.00408518
mov byte [esp + 0x38], 2
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.004480d2
pop ecx
pop ecx
mov byte [esp + 0x38], 1
lea ecx, [esp + 8]
call fcn.00408559
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
call fcn.00424184
pop ecx
mov byte [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
call fcn.0041295c
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 4]
call fcn.00408559
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x448e95
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x30
mov eax, 0x5b770d
call fcn.0058705b
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 0x448fa6
cmp dword [edi + 0x78], ebx
jne 0x448efb
mov dword [ebp - 0x10], ebx
jmp 0x448f0c
cmp dword [edi + 0x7c], 8
jb 0x448f06
mov eax, dword [edi + 0x68]
jmp 0x448f09
lea eax, [edi + 0x68]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
lea esi, [ebp - 0x3c]
call fcn.00408172
mov dword [ebp - 4], 1
lea ecx, [edi + 0x80]
cmp dword [ecx + 0x18], 8
jb 0x448f30
mov esi, dword [ecx + 4]
jmp 0x448f33
lea esi, [ecx + 4]
cmp dword [eax + 0x18], 8
jb 0x448f3e
mov ecx, dword [eax + 4]
jmp 0x448f41
lea ecx, [eax + 4]
cmp dword [edi + 0x60], 8
jb 0x448f4c
mov edx, dword [edi + 0x4c]
jmp 0x448f4f
lea edx, [edi + 0x4c]
cmp dword [edi + 0x44], 8
jb 0x448f5a
mov eax, dword [edi + 0x30]
jmp 0x448f5d
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.00409bf1
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.0044956a
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.005796dc
add ebp, 0x804
leave
ret 4
Function at 0x4490cd
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x5b76c4
call fcn.0058705b
xor ebx, ebx
inc ebx
cmp dword [0x6c438c], ebx
mov byte [ebp - 0xd], 0
jl 0x449113
push str.VB_CHECK01
push 0x682df8
push ebx
call fcn.00538922
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x449148
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.005796dc
add ebp, 0x230
leave
ret
cmp dword [0x6c438c], ebx
jl 0x449163
push str.VB_CHECK02
push 0x682e10
push ebx
call fcn.00538922
add esp, 0xc
lea eax, [ebp]
push eax
push esi
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x449185
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x449125
cmp dword [0x6c438c], ebx
jl 0x4491a0
push str.VB_CHECK03
push 0x682e28
push ebx
call fcn.00538922
add esp, 0xc
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00408518
and dword [ebp - 4], 0
push str.vbupdate.exe
lea eax, [ebp - 0x14]
push eax
call fcn.004085f9
test eax, eax
je 0x4491df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408559
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4491a0
jmp 0x449209
cmp dword [0x6c438c], ebx
jl 0x4491fa
push str.VB_CHECK04
push str.findUpdater
push ebx
call fcn.00538922
add esp, 0xc
mov byte [ebp - 0xd], bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408559
mov bl, byte [ebp - 0xd]
jmp 0x44917a

Function at 0x449211
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 0x24], 0
je 0x449231
mov al, 1
jmp 0x4492d0
cmp dword [ebp + 8], 2
jne 0x44923d
and dword [esi + 0xc], 0
jmp 0x449290
push edi
xor edi, edi
cmp byte [ebp + 0x10], 0
je 0x449247
inc edi
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0057e5e0
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 0x449289
cmp dword [ebp - 0x114], 6
jb 0x449289
or edi, 0x104
jmp 0x44928c
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 0x4492ba
cmp eax, 1
je 0x4492ba
inc dword [0x6cb010]
mov eax, dword [0x6cb010]
mov dword [esi + 0x18], eax
jmp 0x4492be
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.005796dc
leave
ret 0xc
Function at 0x4492de
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push 0xc
mov eax, 0x5aca1e
call fcn.0058708e
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 0x449398
cmp dword [esi + 0x44], 8
jb 0x449314
mov ecx, dword [esi + 0x30]
jmp 0x449317
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 0x449398
lea ebx, [esi + 4]
push ebx
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
call edi
test eax, eax
je 0x449387
cmp dword [esi + 8], 1
je 0x449380
push ebx
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x449387
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x449387
cmp dword [esi + 8], 3
jne 0x449374
push 0x1f4
jmp 0x449357
cmp dword [esi + 8], 1
jne 0x449387
or dword [ebp - 0x14], 2
jmp 0x449387
mov dword [ebp - 0x14], 2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x449398
or dword [ebp - 0x14], 4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.00587133
ret
Function at 0x449fcd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bd440
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
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.00413a77
and dword [esp + 0x858], 0
lea ebx, [esp + 0x2c]
call fcn.0041c7b7
lea eax, [esi + 0xbc]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x858], 1
lea eax, [esi + 0x6c]
mov dword [esp + 0x24], eax
call fcn.0044f6eb
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
xor ebx, ebx
sar eax, 2
test eax, eax
jbe 0x44a155
lea eax, [esp + 0x20]
push eax
mov edi, ebx
lea esi, [esp + 0x30]
call fcn.00413f62
push eax
push 2
pop ecx
call fcn.004262f6
mov dword [esp + 0x28], eax
mov byte [esp + 0x858], 2
call fcn.00413f62
mov edi, eax
mov eax, dword [esp + 0x28]
call fcn.0040857c
mov byte [esp + 0x858], 1
lea ecx, [esp + 0x20]
call fcn.00408559
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push eax
call fcn.0057e5e0
add esp, 0xc
mov edi, ebx
call fcn.00413f62
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 0x44a141
lea eax, [esp + 0x10]
push eax
call fcn.004495b8
mov byte [esp + 0x858], 3
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004085bd
call fcn.00413f62
lea edi, [esp + 0x14]
call fcn.0040857c
lea eax, [esp + 0x10]
call fcn.0040876a
mov eax, edi
call fcn.0040876a
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
call fcn.0044f684
mov byte [esp + 0x858], 1
lea eax, [esp + 0x10]
push eax
call fcn.0045c0c8
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x44a064
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.00413aaf
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.005796dc
mov esp, ebp
pop ebp
ret
Function at 0x451e4f
Capabilities:
Get geographical location

Disassembly:
push 0x2c
mov eax, 0x5b4eb9
call fcn.005870c4
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.004084c2
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 0x451f45
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 0x451f45
push eax
lea esi, [ebp - 0x2c]
call fcn.0042c1b4
mov dword [ebp - 4], 1
push dword [ebp - 0x18]
mov eax, esi
call fcn.00425dd6
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 0x451f05
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x451f08
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.00425df6
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x451f2c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call fcn.004085bd
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409bf1
mov eax, dword [ebp - 0x30]
call fcn.00587147
ret