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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008f8a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x100596c9
inc eax
mov dword [esi + 0x10], eax
jmp 0x100597dc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x100596dd
mov eax, 0xffffffc7
jmp 0x100597de
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x100596ee
cmp dword [esi + 8], eax
jne 0x100596dd
cmp dword [esi + 8], eax
jne 0x10059707
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x10059707
mov eax, 0xffffffc7
jmp 0x100597de
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1005971b
push eax
mov ecx, ebx
call fcn.10058ec0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.1002f2c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1005974c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.1002f2e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.10058630
test eax, eax
mov dword [esp + 0x38], eax
je 0x1005977f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10095f60
call fcn.1002f4c0
mov eax, dword [esp + 0x38]
jmp 0x100597de
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.100594f0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x100597c3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10059510
mov esi, eax
test esi, esi
jne 0x100597f3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.100594f0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x10059795
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10095f60
call fcn.1002f4c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10095f60
call fcn.1002f4c0
mov eax, esi
jmp 0x100597de

Function at 0x1005e1b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x1005e210
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x1005e210
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x1005e210
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x1005e210
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x1005e250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x100636b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10090198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.100892ce
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10063010
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100891fc
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.10085ad7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.10085ad7
push 1
push 0
push 0
mov ecx, esi
call fcn.10085a7f
push 1
push 0
push 1
mov ecx, esi
call fcn.10085a7f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10089340
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10063830
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100901b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.100892ce
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10063010
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.100891fc
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x100638f4
cmp dword [esp + 0x40], 1
jne 0x100638f2
cmp ecx, eax
jge 0x100638f4
mov eax, ecx
cmp eax, 0xc8
jge 0x10063900
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.100636b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10089340
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x100640f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10090263
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10083f0e
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.10089576
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1008aa92
test eax, eax
je 0x1006420c
mov ecx, dword [esp + 0x3c]
call fcn.100895a3
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x100641d0
push edi
mov ecx, esi
call fcn.10086bf1
mov ecx, esi
call fcn.100643b0
cmp dword [esp + 0x38], 1
jne 0x10064205
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.10086d2c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x100663f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10066423
push esi
call fcn.10069580
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1006641c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x100664a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10066492
mov eax, dword [esi + 8]
test eax, eax
je 0x10066447
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1006648e
cmp eax, 2
je 0x10066492
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1006643a
cmp eax, 3
je 0x1006646d
cmp eax, 1
jne 0x1006643a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1006643a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1006643a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100664d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100664b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100664d0
add esp, 4
pop esi
ret

Function at 0x10084cea
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10084d22
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10082dbb
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10082d93
jmp 0x10084d2e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100863df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10086421
call fcn.1008bd77
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10086421
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10086418
xor eax, eax
jmp 0x10086429
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1008642f
pop edi
pop esi
pop ebx
ret 4
Function at 0x10002aa0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x10002abe
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x10002ab3
pop esi
ret

Function at 0x10003290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x100032b1
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x1000330b
inc edi
cmp edi, esi
jl 0x100032a5
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x10003340
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x100032fa
cmp byte [eax], bl
je 0x10003315
cmp byte [eax + 1], bl
je 0x1000331e
cmp byte [eax + 2], bl
je 0x10003328
cmp byte [eax + 3], bl
je 0x10003334
add eax, 4
cmp eax, edi
jb 0x100032d1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4020d0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x43e6cc
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x455d50]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
xor ebx, ebx
push 0x228
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.0042ace0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x25c], ebx
cmp edi, 0xffffffff
je 0x4022ab
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x2c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4022ab
mov ebp, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x4c]
call fcn.00403880
mov byte [esp + 0x25c], 1
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4021a0
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.00420f50
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0042a825
add esp, 8
cmp esi, ebx
jl 0x4022eb
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4022eb
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jl 0x402271
push str.advancedsystemrepairpro.exe
push eax
call fcn.0042a5b3
add esp, 8
cmp eax, ebx
je 0x402271
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x402271
mov eax, dword [esp + 0x2c]
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x20], esi
mov byte [esp + 0x25c], 2
cmp esi, ebx
je 0x40225e
push 0x448bc4
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x402247
lea ecx, [esp + 0x18]
push ecx
push 0x1388
push 1
push ebx
push ebx
push 0x864
push eax
mov dword [esp + 0x34], ebx
call ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x40225e
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x25c], 1
cmp esi, ebx
je 0x402271
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x25c], bl
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 0x402298
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402163
mov dword [esp + 0x25c], 0xffffffff
cmp edi, ebx
je 0x4022c1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.004042c0
add esp, 0x24c
ret
push 0x80070057
call fcn.00411460
int3
Function at 0x4023b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43e5f2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x455d50]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
mov dword [esp + 0x10], 0
push ecx
mov dword [esp + 0x1c], esi
mov word [esp + 0x20], ax
call fcn.0042ace0
add esp, 0xc
lea edx, [esp + 4]
push edx
xor edx, edx
cmp byte [esp + 0x234], dl
lea eax, [esp + 0x18]
push eax
setne dl
lea ecx, [esp + 0x14]
push ecx
push str.InstallDir
push str.SoftwareAdvancedSystemRepairPro
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x104
add edx, 0x80000001
push edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [esp + 4]
xor ecx, ecx
shr eax, 1
mov word [esp + eax*2 + 0x14], cx
push esi
lea ecx, [esp + 0x18]
call fcn.00403880
mov dword [esp + 0x228], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004042c0
add esp, 0x228
ret

Function at 0x403b50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43e5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x455d50]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x230], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x230], 1
push 0x206
push eax
lea edx, [esp + 0x26]
xor ecx, ecx
push edx
mov word [esp + 0x28], cx
call fcn.0042ace0
add esp, 0xc
push 0x104
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
lea ecx, [esp + 0x20]
call fcn.00403880
lea ecx, [esp + 0xc]
push edi
push ecx
mov ebx, 0x448b5c
mov dword [esp + 0x18], 1
call fcn.00412b80
mov byte [esp + 0x238], 2
lea edx, [esp + 0x240]
push edx
lea ecx, [esp + 0x20]
push ecx
mov ebx, eax
call fcn.004206b0
add esp, 0x10
mov byte [esp + 0x230], 3
call fcn.0040e4c0
mov byte [esp + 0x230], 2
lea ecx, [esp + 0x14]
call fcn.0040c820
mov byte [esp + 0x230], 1
lea ecx, [esp + 0xc]
call fcn.0040c820
mov byte [esp + 0x230], 0
lea ecx, [esp + 0x238]
call fcn.0040c820
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004042c0
add esp, 0x228
ret

Function at 0x4042c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x455d50]
jne 0x4042ca
repz ret
jmp fcn.0042ea5f
Function at 0x404a20
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43c069
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x34]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], 0
call fcn.004205a0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov eax, esi
je 0x404ac8
call fcn.00414530
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], edi
mov eax, dword [eax]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404abd
cmp dword [esp + 0x38], edi
je 0x404ac6
xor edi, edi
mov eax, esi
call fcn.00414530
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret

Function at 0x404be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp method.CDialog.virtual_320

Function at 0x4055f0
Capabilities:
Create process on windows
Terminate process

Disassembly:
cmp byte [0x45a376], 0
mov byte [0x45a374], 1
push 1
je 0x405611
mov eax, dword [0x45a3b0]
push 0
push 0x4485d8
push eax
jmp 0x405621
mov ecx, dword [0x45a4b0]
mov edx, dword [0x45a3b0]
push ecx
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call esi
cmp byte [0x45a376], 0
je 0x40564c
push 0xbb8
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x406a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406a39
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406a74
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x406a70
lea ebx, [ebx]
cmp esi, eax
jae 0x406a74
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406a60
cmp esi, eax
jb 0x406a7a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x407500
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43ec88
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.0041b260
add esp, 4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
mov ebx, str._shm
call fcn.00412b80
add esp, 8
mov byte [esp + 0x1c], 1
mov eax, dword [eax]
push eax
call esi
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x10]
call fcn.0040c820
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov ebx, str._wal
call fcn.00412b80
add esp, 8
mov byte [esp + 0x1c], 2
mov eax, dword [eax]
push eax
call esi
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x10]
call fcn.0040c820
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0040c820
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret