joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422670
Capabilities:
Check if file exists
Check os version

Disassembly:
mov eax, 0x2140
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x213c], eax
push esi
mov esi, dword [esp + 0x2148]
test esi, esi
jne 0x4226ac
xor eax, eax
pop esi
mov ecx, dword [esp + 0x213c]
xor ecx, esp
call fcn.00461932
add esp, 0x2140
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4226d2
mov eax, 1
pop esi
mov ecx, dword [esp + 0x213c]
xor ecx, esp
call fcn.00461932
add esp, 0x2140
ret
xor eax, eax
push 0x2000
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x148]
push eax
mov dword [esp + 0x14], 3
call fcn.00461950
push 0x1000
lea ecx, [esp + 0x150]
push esi
push ecx
call fcn.00462b97
push 0x11c
lea edx, [esp + 0x40]
push 0
push edx
call fcn.00461950
add esp, 0x24
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x28], 6
jb 0x42275f
lea ecx, [esp + 0x140]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esp + 4]
lea edx, [esp + 0x140]
mov eax, 0x614
push ecx
mov dword [esp + 0x10], edx
mov word [esp + 0x18], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [esp + 0x2140]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.00461932
add esp, 0x2140
ret

Function at 0x4227b0
Capabilities:
Delete file
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x48a904
push 0x48a8a0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00461950
add esp, 0xc
lea edx, [esp]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x422820
push 0x48a880
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00461932
add esp, 0x20c
ret
Function at 0x422840
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
push esi
test eax, eax
je 0x4229e2
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4229e2
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422860
sub eax, edx
push ebx
sar eax, 1
mov ebx, eax
push ebp
mov eax, esi
push edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422880
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
xor ecx, ecx
lea eax, [ebx + ebx + 2]
mov edx, 2
xor esi, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00450880
mov ebp, eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
lea eax, [eax + eax + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00450880
add esp, 8
mov edi, eax
test ebp, ebp
je 0x4229c9
test edi, edi
je 0x4229c0
mov eax, dword [esp + 0x38]
mov edx, ebp
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4228f0
xor eax, eax
mov word [ebp + ebx*2], ax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, edi
mov word [ebp + ebx*2 + 2], cx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x422915
mov eax, dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov word [edi + eax*2], dx
mov word [edi + eax*2 + 2], cx
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422940
sub eax, edx
sar eax, 1
je 0x422965
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422965
push edi
call fcn.00444840
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2e], eax
lea eax, [esp + 0x14]
mov edx, 0x614
push eax
mov word [esp + 0x28], dx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebp
call fcn.00462471
add esp, 4
test edi, edi
je 0x4229d6
push edi
call fcn.00462471
add esp, 4
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0x24
ret 8
xor eax, eax
pop esi
add esp, 0x24
ret 8
Function at 0x422a00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
push edi
lea eax, [esp + 0xc]
push eax
call esi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x422a6c
lea ecx, [esp + 0x10]
push ecx
push 0x23
push 0
call edi
test eax, eax
jl 0x422a60
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call ebx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xc]
push eax
call esi
test eax, eax
jl 0x422aaf
lea ecx, [esp + 0x10]
push ecx
push 0x1a
push 0
call edi
test eax, eax
jl 0x422aa3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call ebx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00461932
add esp, 0x214
ret

Function at 0x422c60
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x180c
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x1808], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x422d82
test esi, esi
je 0x422d82
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00461950
add esp, 0xc
push edi
push esi
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
jne 0x422d82
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422d82
push 0x80
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x422cfb
lea edx, [esp + 0x10]
push edx
call ebx
push 0x800
lea eax, [esp + 0x814]
push 0
mov ecx, 0x200
lea esi, [esp + 0x18]
lea edi, [esp + 0x1018]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00461950
add esp, 0xc
lea ecx, [esp + 0x1010]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x810]
push edx
push 0
push 0x48a924
lea eax, [esp + 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [esp + 0x810]
push ecx
call ebx
lea edx, [esp + 0x810]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x422d82
push 4
push 0
lea ecx, [esp + 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x1814]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461932
mov esp, ebp
pop ebp
ret 8
Function at 0x422f50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_SHGetMalloc]
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call ebp
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x422fcc
lea ecx, [esp + 0x14]
push ecx
push 0x25
push 0
call ebx
test eax, eax
jl 0x422fc0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call fcn.0041be90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x42301c
lea ecx, [esp + 0x14]
push ecx
push 0x24
push 0
call ebx
test eax, eax
jl 0x423010
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x14]
call fcn.0041be90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x42306c
lea ecx, [esp + 0x14]
push ecx
push 2
push 0
call ebx
test eax, eax
jl 0x423060
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x18]
call fcn.0041be90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x4230bc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call ebx
test eax, eax
jl 0x4230b0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x1c]
call fcn.0041be90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x42310c
lea ecx, [esp + 0x14]
push ecx
push 0x15
push 0
call ebx
test eax, eax
jl 0x423100
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x20]
call fcn.0041be90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461932
add esp, 0x214
ret
Function at 0x423130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4815d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi], vtable.C360SafeOldInstallFeature.0
mov dword [esi + 4], eax
mov ecx, dword [0x4a4014]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov edx, dword [0x4a4014]
mov dword [esp + 0x14], eax
mov dword [esi + 0x10], edx
mov ecx, dword [0x4a4014]
mov dword [esi + 0x14], ecx
mov edx, dword [0x4a4014]
mov dword [esi + 0x18], edx
mov ecx, dword [0x4a4014]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x4a4014]
mov dword [esi + 0x20], edx
mov ecx, dword [0x4a4014]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4a4014]
mov dword [esi + 0x30], edx
mov ecx, dword [esi + 4]
mov byte [esp + 0x14], 7
mov dword [esi + 0x24], eax
cmp ecx, eax
je 0x4231c9
call fcn.0043ec90
mov dword [esi + 0x24], eax
mov ecx, esi
call fcn.00422f50
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4231f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48160b
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov esi, dword [esp + 0x828]
test esi, esi
je 0x4232ed
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00461950
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.SOFTWAREKasperskyLabSetupFolders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4232ed
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call fcn.0041d2c0
lea ecx, [esp + 8]
mov dword [esp + 0x820], 0
call fcn.00422dc0
push 0x22
lea ecx, [esp + 0xc]
call fcn.00422e90
lea ecx, [esp + 8]
call fcn.00422e20
push 0x22
lea ecx, [esp + 0xc]
call fcn.00422ef0
mov edx, dword [esp + 8]
push str.avp.exe
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 8]
test eax, eax
jne 0x4232f1
call fcn.0041b2e0
xor eax, eax
jmp 0x4232fb
call fcn.0041b2e0
mov eax, 1
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.00461932
add esp, 0x81c
ret 4
Function at 0x423a20
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x218
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x228]
mov dword [esp + 0x10], 0x104
test edi, edi
je 0x423abe
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push edi
push 0
mov dword [esp + 0x28], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x423abe
mov eax, dword [esp + 0xc]
test eax, eax
je 0x423abe
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x423abe
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push 0
call ebx
test eax, eax
je 0x423ab7
mov eax, esi
jmp 0x423ac0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461932
add esp, 0x218
ret 4

Function at 0x423b70
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
test eax, eax
je 0x423c04
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
test eax, eax
jne 0x423c04
push edi
mov edi, dword [esp + 8]
add edi, 0xffffffff
js 0x423c03
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
push esi
mov esi, edi
shl esi, 5
jmp 0x423bc0
mov ecx, dword [esp + 0x20]
cmp dword [esi + eax + 4], ecx
jne 0x423bf8
test ebx, ebx
je 0x423be8
cmp dword [esi + eax + 0x14], 0
jne 0x423bf8
push ebx
lea edx, [esi + eax + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTrusteeNameW]
push eax
call ebp
test eax, eax
je 0x423bf4
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
mov eax, dword [esp + 0x10]
dec edi
sub esi, 0x20
test edi, edi
jge 0x423bc0
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
Function at 0x4243f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4817bf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CCommandParser.0
mov eax, dword [0x4a4014]
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x4a4014]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esi + 8], ecx
mov edx, dword [0x4a4014]
mov dword [esi + 0xc], edx
mov ecx, dword [0x4a4014]
mov dword [esi + 0x10], ecx
mov edx, dword [0x4a4014]
mov dword [esi + 0x14], edx
mov ecx, 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 4
call fcn.0041d2c0
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x1c], 5
call fcn.0041be30
mov eax, dword [esp + 0x20]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a4010]
je 0x4244d2
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4244d2
push edi
call fcn.00462471
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4263c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x481993
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CCustomizeMessageBox.0
call fcn.0041d2c0
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 1
call fcn.0041d2c0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x44], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x1c

Function at 0x426860
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00425390
mov eax, dword [esi + 0x38]
test eax, eax
jle 0x4268ee
cmp dword [esi + 0x30], 0
je 0x4268ee
push ebp
xor ebp, ebp
test eax, eax
jle 0x4268e9
xor ebx, ebx
mov ecx, dword [esi + 4]
lea eax, [ebp + 0xee]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4268e9
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x30]
lea eax, [ebx + edx + 4]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x30]
mov edx, dword [ebx + ecx]
push edx
push 0xfffffffffffffff4
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x30]
mov ecx, dword [ebx + eax]
push 4
push str.Common_button_small.png
push ecx
mov ecx, esi
call fcn.00426610
mov edx, dword [esi + 4]
push edi
push edx
mov ecx, esi
call fcn.00425ff0
inc ebp
add ebx, 0x44
cmp ebp, dword [esi + 0x38]
jl 0x426880
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xee
push eax
call edi
push 0x48aa80
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
push 0xee
push ecx
call edi
push 1
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 0xee
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push 0xee
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0xee
push ecx
call edi
push 0
push eax
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x426960
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 4]
mov dword [esp + 0x10], 0
test edi, edi
je 0x4269ed
call fcn.00436600
test eax, eax
je 0x426993
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x2719
push edi
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4269ed
push 1
mov dword [esp + 0x18], 0x28
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x20], 0x12c
mov dword [esp + 0x24], 0x82
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 1
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 7
push str.Setupmsgboxbkg.png
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push 5
push eax
call edx
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7fbc
push eax
mov dword [esp + 0x14], 0
call ebx
mov edi, eax
mov dword [esp + 0xc], 0
test edi, edi
je 0x426a91
call fcn.00436600
test eax, eax
je 0x426a30
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x27d8
push edi
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x426a91
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0
push 0
push 0
push eax
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push 0
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push 0
call edx
mov eax, dword [esi + 4]
push 0x494900
push str.DynamicTitleBar
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x426a91
push 0x48ac14
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
push str.Common_sys_button_close.png
push 0xf2
mov ecx, esi
call fcn.00426610
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 4]
push ecx
push 0xf2
push edx
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esi + 0x44], 0
jne 0x426ad4
mov eax, dword [esi + 4]
push 0
push 0xf2
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x4270f0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [ecx + 4]
push esi
push edi
push 0x42c
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov esi, eax
mov word [esp + 0x14], cx
call fcn.00461950
add esp, 0xc
push 0x103
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427150
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
sub eax, edx
sar eax, 1
push eax
push eax
push 0xb1
push esi
call edi
push 0
push 0
push 0xb7
push esi
call edi
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.00461932
add esp, 0x20c
ret