joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419990
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4637c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4826d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 8], 0
je 0x419ab3
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x419af3
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], edi
push eax
call fcn.004334a0
add esp, 8
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x419a90
call fcn.00403330
mov ecx, eax
test ecx, ecx
je 0x419b05
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push str.__s___s
push eax
call fcn.00408f60
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push 0x467db0
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x419a90
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x419aac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x419af3
push edi
jmp 0x419aed
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419af3
mov esi, dword [ebp + 8]
push 0x467db0
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x419af3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004024f0
int3

Function at 0x419e70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareAutoOff
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x419ed6
push ebx
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
push 3
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
test esi, esi
je 0x419ece
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x419ee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareAutoOff
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x419f54
push ebx
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
mov esi, dword [ebp - 4]
push 1
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
test esi, esi
je 0x419f4c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x41a0a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4826d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x41a141
cmp byte [esi + 0x3d], 0
je 0x41a141
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41a0f7
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41a109
sub eax, 1
je 0x41a10d
sub eax, 2
je 0x41a141
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41a12a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0044f04b
add esp, 0x10
cmp edi, eax
jne 0x41a0f7
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00444abb
mov esp, ebp
pop ebp
ret
Function at 0x41b260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4826d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x41b290
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41b2cc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41b2cc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x41b3b1
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x41b2f4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41b327
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0044e768
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x41b3b1
cmp eax, 1
jle 0x41b384
cmp eax, 3
jne 0x41b3b1
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00410e70
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41b3a1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0044f04b
add esp, 0x10
cmp edi, eax
jne 0x41b3b1
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x41b2b7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444abb
mov esp, ebp
pop ebp
ret 4
Function at 0x41c1b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x41c1d4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c2a0
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x41c1f5
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x41c1f7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x41c27f
jg 0x41c20a
test esi, esi
je 0x41c27f
test ecx, ecx
jl 0x41c24c
jg 0x41c214
test eax, eax
je 0x41c24c
cmp ebx, ecx
jg 0x41c226
jl 0x41c21e
cmp esi, eax
jae 0x41c226
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00446450
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x41c252
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x41c27f
jg 0x41c25c
test esi, esi
je 0x41c27f
cmp dword [edi + 0x4c], 0
je 0x41c27f
mov ecx, edi
call fcn.0041a810
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.0044ea38
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41c394
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c450
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x41c3b5
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x41c3b7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x41c434
jg 0x41c3ca
test esi, esi
je 0x41c434
test ecx, ecx
jl 0x41c40e
jg 0x41c3d4
test eax, eax
je 0x41c40e
cmp edi, ecx
jg 0x41c3e6
jl 0x41c3de
cmp esi, eax
jae 0x41c3e6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00446450
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x41c411
mov edx, dword [ebp + 8]
test edi, edi
jl 0x41c434
jg 0x41c41b
test esi, esi
je 0x41c434
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x41c434
push eax
push esi
push 1
push edx
call fcn.0044f04b
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41d4d0
Capabilities:
Lock the desktop

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
push esi
cmp eax, 0xa
ja case.0x41d4e3.7
jmp dword [eax*4 + 0x41d618]
call fcn.004157d0
movzx eax, byte [eax + 0x35]
push eax
call fcn.004157d0
movzx eax, byte [eax + 0x34]
push eax
push 0
call fcn.0041d7a0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004157d0
movzx eax, byte [eax + 0x35]
push eax
call fcn.004157d0
movzx eax, byte [eax + 0x34]
push eax
push 1
call fcn.0041d7a0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
call fcn.0041d850
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push 1
push 0
push 1
call fcn.0041d850
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
test esi, esi
je case.0x41d4e3.7
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 1
push 0x56
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 2
push 0xf170
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
test esi, esi
je case.0x41d4e3.7
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0xf140
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
pop esi
setne al
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41d5ea
push 0xffffffffffffffff
push 0xf170
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1c
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 1
xorps xmm0, xmm0
push eax
push 1
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.USER32.dll_SendInput]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41d6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 1
push esi
push str.Control_PanelDesktop
push SysReAllocStringLen
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d772
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push str.SCRNSAVE.EXE
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d772
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.ScreenSaveActive
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d76e
cmp dword [ebp - 4], 4
jne 0x41d76e
cmp dword [ebp - 8], 4
jne 0x41d76e
cmp dword [ebp - 0xc], eax
je 0x41d772
mov bl, 1
jmp 0x41d774
xor bl, bl
test esi, esi
je 0x41d77f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d7a0
Capabilities:
Find taskbar
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov bl, byte [ebp + 8]
call fcn.004335b0
test eax, 0x40000
je 0x41d7c2
call fcn.0041d650
test al, al
jne 0x41d809
pop ebx
mov esp, ebp
pop ebp
ret
push 0x467794
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x41d809
push esi
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41d808
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
cmp byte [ebp + 0xc], 0
movzx ecx, bl
je 0x41d823
push ecx
push 1
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
jmp 0x41d839
inc ecx
mov eax, ecx
or eax, 0x10
cmp byte [ebp + 0x10], 0
push 0
cmove eax, ecx
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x41d844
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421a60
Capabilities:
Set registry value

Disassembly:
cmp byte [ecx + 0x20], 0
jne 0x421a97
mov byte [ecx + 0x20], 1
call fcn.004213c0
mov edx, eax
inc dword [edx + 0x24]
mov ecx, dword [edx]
sub ecx, dword [edx + 0x10]
mov eax, dword [edx + 4]
sbb eax, dword [edx + 0x14]
add dword [edx + 0x18], ecx
mov ecx, edx
adc dword [edx + 0x1c], eax
mov eax, dword [edx]
mov dword [edx + 0x10], eax
mov eax, dword [edx + 4]
mov dword [edx + 0x14], eax
jmp fcn.00421e00
ret

Function at 0x421e00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareAutoOff
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x421ecc
mov eax, dword [ebx + 0x10]
push esi
mov esi, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
push 8
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xb
push 0
push str.StatusTime
push esi
call edi
mov ecx, dword [ebx + 0x18]
sub ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x1c]
sbb eax, dword [ebx + 0x14]
add ecx, dword [ebx]
push 8
adc eax, dword [ebx + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xb
push 0
push str.RunTime
push esi
mov dword [ebp - 0xc], ecx
call edi
mov eax, dword [ebx + 0x20]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.StartCount
push esi
call edi
mov eax, dword [ebx + 0x24]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.SuspendCount
push esi
call edi
test esi, esi
je 0x421eca
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422f80
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
pop ebp
ret

Function at 0x4246e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x42475d
mov esi, dword [ebp + 8]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x424717
push edi
mov ecx, esi
call fcn.00404230
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x42473e
mov ecx, dword [esi]
test ecx, ecx
je 0x424742
push dword [ecx - 8]
push ecx
call fcn.0044c2df
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x42475d
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x42475d
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.004024f0
int3
Function at 0x426460
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 0xc]
push ebx
push esi
push edi
push eax
mov ebx, ecx
push 1
mov dword [ebp - 4], ebx
call fcn.00426190
push 0x427
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebx + 0x20]
add edi, 0xa8
test eax, eax
jne 0x4264ae
mov ecx, edi
call fcn.004030b0
jmp 0x42651e
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x42654c
mov edx, dword [edi]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, ebx
or ecx, eax
jge 0x4264dd
push ebx
mov ecx, edi
call fcn.00404230
mov edx, dword [edi]
push ebx
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x426505
mov eax, dword [edi]
test eax, eax
jne 0x4264f7
xor ecx, ecx
jmp 0x426509
push dword [eax - 8]
push eax
call fcn.0044c2df
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x42654c
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x42654c
mov ebx, dword [ebp - 4]
xor edx, edx
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
mov ecx, dword [ebx + 0x20]
push 0
call fcn.00418320
call fcn.00438760
pop edi
pop esi
pop ebx
cmp dword [eax + 0x194], 0
je 0x426544
lea ecx, [eax + 0x190]
call fcn.00426eb0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.004024f0
int3
Function at 0x426a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464358
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4826d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
mov dword [edi], vtable.CTimerWindow.0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 4
call fcn.00403330
mov ecx, eax
test ecx, ecx
je 0x426bbc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x38], eax
mov byte [ebp - 4], 5
call fcn.00403330
mov ecx, eax
test ecx, ecx
je 0x426bc6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov byte [ebp - 4], 0xf
call fcn.00403330
mov ecx, eax
test ecx, ecx
je 0x426bd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x78], eax
mov byte [ebp - 4], 0x10
call fcn.004157d0
mov esi, eax
xor edx, edx
mov ecx, 0x12
mov eax, dword [esi + 0xa0]
div ecx
lea ecx, [edi + 0x78]
mov dword [edi + 0x24], edx
movzx edx, byte [esi + 0xa4]
mov byte [edi + 0x6c], dl
movzx edx, byte [esi + 0xa5]
mov byte [edi + 0x74], dl
movzx eax, byte [esi + 0xa6]
mov byte [edi + 0x75], al
movzx eax, byte [esi + 0xa7]
mov byte [edi + 0x76], al
lea eax, [esi + 0xa8]
push eax
call fcn.004019b0
mov eax, dword [esi + 0xac]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0xb0]
mov dword [edi + 0x80], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004024f0
push 0x80004005
call fcn.004024f0
push 0x80004005
call fcn.004024f0
int3