joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cab0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x4e4018]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x45cb1f
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45cb1f
push 0x228
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00489ec0
add esp, 0xc
mov dword [esp + 0x18], 0x22c
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x45cb38
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0048782e
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x45cb6b
push dword [esi + 8]
mov ecx, edi
push edi
call fcn.0041c9f0
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.0048783c
add esp, 8
cmp byte [esi + 0xd], 0
je 0x45cb47
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], eax
mov dword [edi + 4], 0
nop
push esi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x45cba1
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0045d0e0
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x45cb80
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048782e
mov esp, ebp
pop ebp
ret 8
Function at 0x460290
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x424]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x460429
push ebx
push esi
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x460361
push 0x20a
xor esi, esi
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.00489ec0
add esp, 0xc
cmp dword [ebp - 0x420], esi
jbe 0x460361
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x105
lea eax, [ebp - 0x41c]
push eax
push esi
push dword [ebp - 0x424]
call ebx
test eax, eax
jne 0x460358
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x424]
call edi
inc esi
cmp esi, dword [ebp - 0x420]
jb 0x460330
push dword [ebp - 0x424]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], 0
push 0
push eax
call fcn.00489ec0
push dword [ebp - 0x428]
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00499bbc
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.004894b8
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4603d1
lea eax, [ebp - 0x210]
push 0x2f
push eax
call fcn.004894b8
mov esi, eax
add esp, 8
test esi, esi
je 0x460426
mov eax, esi
lea ecx, [ebp - 0x210]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x20a
jae 0x460439
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
lea eax, [ebp - 0x424]
push eax
push 0xf003f
push ecx
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46041e
lea eax, [esi + 2]
push eax
push dword [ebp - 0x424]
call edi
push dword [ebp - 0x424]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
ret 4
call fcn.00487f4a
int3
Function at 0x460ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7b90
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x118], edi
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x120], edi
push 0
push eax
call fcn.00489ec0
add esp, 0xc
mov dword [ebp - 0x118], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x104
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push str.ProgId
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x460fef
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00404440
test al, al
jne 0x460fd2
lea ecx, [ebp - 0x114]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460fb4
sub ecx, edx
lea eax, [ebp - 0x114]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00404740
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404860
int3
Function at 0x461000
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7bdd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00460860
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00460570
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
cmp esi, edi
je 0x461097
nop dword [eax]
push ecx
mov ecx, dword [esi]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00460af0
add esp, 4
test eax, eax
je 0x461090
mov ecx, dword [esi]
call fcn.00460c60
add esi, 4
cmp esi, edi
jne 0x461070
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x46117d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.sesAppX43hnxtbyyps62jhe9s
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str.SoftwareClas_sqpdzxn1790zetc
push eax
call fcn.00403d00
add esp, 0xc
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x461187
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.penWit
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push str.NoO_sh
push eax
call fcn.00403d00
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x14]
push esi
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461141
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x46115a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.004615b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404860
push 0x80004005
call fcn.00404860
int3
Function at 0x4626e0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7e90
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x462772
push 0x10
lea eax, [ebp - 0x23c]
push eax
call fcn.004628e0
mov esi, eax
cmp edi, esi
je 0x462767
mov ecx, edi
call fcn.0042c7f0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x23c]
call fcn.0042c7f0
cmp dword [edi + 0x28], 0
jne 0x4627c5
push 2
lea eax, [ebp - 0x23c]
push eax
call fcn.004628e0
mov esi, eax
lea eax, [edi + 0x18]
cmp eax, esi
je 0x4627ba
mov ecx, eax
call fcn.0042c7f0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x23c]
call fcn.0042c7f0
cmp dword [edi + 0x40], 0
jne 0x46289e
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00489ec0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x4628d1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.kBar
push str.k_LaunchUser_P
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push str.MicrosoftInternet_ExplorerQuic_sinnedTas_s
push eax
call fcn.00403d00
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
add esp, 0x10
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462860
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.0042c850
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46289e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x28], 0
je 0x4628ae
cmp dword [edi + 0x10], 0
je 0x4628ae
xor eax, eax
jmp 0x4628b3
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404860
int3
Function at 0x4628e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
mov dword [ebp - 0x214], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x4629db
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4629c5
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00489ec0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4629a9
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x210]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462990
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
jmp 0x4629fa
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x214], 0
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x4c8cd8
mov ecx, esi
call fcn.0042c850
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048782e
mov esp, ebp
pop ebp
ret 8

Function at 0x462d80
Capabilities:
Check os version
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
movups xmmword [ebp - 0x20], xmm0
xor esi, esi
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x118
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.00489ec0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 6
jae 0x462e4b
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x462e4b
mov ecx, 0x2710
cmp dword [ebp + 0x10], eax
jne 0x462e63
cmp esi, 5
ja 0x462e63
mov eax, 0xaaaaaaab
mul dword [ebp - 8]
shr edx, 1
cmp edx, 0x3e8
jae 0x462e26
mov edx, 0x3e8
jmp 0x462e2f
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
inc esi
push eax
push ebx
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, 0x2710
cmp eax, 1
jne 0x462e03
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048782e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x463c50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8058
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e4018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4f8c10
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x4f8c10
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x4c9f74
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00462fc0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x463f50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test ebx, ebx
jne 0x463f8c
cmp byte [esi + 0x2c], bl
jne 0x464076
mov edx, dword [str.Failed_to_open_file]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 2
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463f80
jmp 0x46405c
mov edi, dword [esi + 0x18]
test edi, edi
je 0x463fa2
mov ecx, edi
mov edi, dword [edi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test edi, edi
jne 0x463f93
push 2
push 0
push ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
call fcn.00497880
push ebx
call fcn.00497e93
push 0
mov edi, eax
push 0
push ebx
mov dword [ebp + 8], edi
call fcn.00497880
add esp, 0x1c
test edi, edi
jg 0x46400d
cmp byte [esi + 0x2c], 0
jne 0x464076
mov edx, dword [str.Error_document_empty.]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 0xc
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464004
jmp 0x46405c
lea eax, [edi + 1]
push eax
call fcn.00488270
push ebx
mov ebx, dword [ebp + 8]
mov edi, eax
push 1
push ebx
push edi
mov byte [edi], 0
call fcn.00498084
add esp, 0x14
cmp eax, 1
je 0x46407f
push edi
call fcn.00487e1a
add esp, 4
cmp byte [esi + 0x2c], 0
jne 0x464076
mov edx, dword [str.Failed_to_open_file]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 2
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464055
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x34]
call fcn.00462fc0
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov byte [edi + ebx], 0
mov eax, edi
mov dl, byte [edi]
mov ecx, edi
test dl, dl
je 0x4640ae
nop dword [eax]
inc eax
lea ebx, [ecx + 1]
cmp dl, 0xd
jne 0x4640a4
mov byte [ecx], 0xa
cmp byte [eax], 0xa
jne 0x4640a6
inc eax
jmp 0x4640a6
mov byte [ecx], dl
mov dl, byte [eax]
mov ecx, ebx
test dl, dl
jne 0x464090
mov byte [ecx], 0
mov ecx, esi
mov eax, dword [esi]
push 0
push 0
push edi
call dword [eax + 8]
push edi
call fcn.00487e1a
add esp, 4
cmp byte [esi + 0x2c], 0
sete al
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x467340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b831c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e4018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 2
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [ebp - 4], 1
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x467433
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x30]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0048784a
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, edi
mov dword [edi + 0x44], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404860
int3
Function at 0x468250
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x4682ee
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 0x30]
mov ecx, edi
push 0
call fcn.004685c0
mov esi, dword [edi + 0xc]
sub esi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
js 0x4682cc
nop word [eax + eax]
test esi, esi
js 0x4682f7
cmp esi, dword [edi + 0xc]
jge 0x4682f7
mov eax, dword [edi + 8]
mov ebx, dword [eax + esi*4]
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x4682be
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
sub esi, 1
jns 0x468290
push dword [edi + 0x40]
call ebx
lea esi, [edi + 0x14]
mov dword [edi + 0x40], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 0x3c]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc000008c
call fcn.004040c0
int3
Function at 0x468c60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x83c
mov eax, dword [0x4e4018]
xor eax, esp
mov dword [esp + 0x838], eax
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x468d4e
push 0x800
push eax
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x40]
push eax
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x28], 0x400000
call fcn.00489ec0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.XDSTMgeMsgDWnd_d
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.00462e80
add esp, 0x10
mov dword [esp + 0x10], 0x468dd0
lea eax, [esp + 0x38]
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x468d66
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0048782e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x83c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0048782e
mov esp, ebp
pop ebp
ret
Function at 0x46a5b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b874d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4e4018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x46a70d
test eax, eax
je 0x46a70d
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.0046a170
mov edi, dword [ebp - 0x20]
or ebx, 0xffffffff
test eax, eax
je 0x46a6d5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46a6d5
push 0x13
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.004724c0
mov esi, dword [ebp - 0x18]
push esi
call fcn.004994b4
add esp, 4
mov dword [ebp - 0x18], eax
add esi, 0xfffffff0
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x46a659
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 0x51eb851f
mul dword [ebp - 0x18]
shr edx, 5
cmp edx, 3
je 0x46a67c
cmp edx, 4
je 0x46a6d5
cmp edx, 5
je 0x46a6d5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46a6b9
test edi, edi
je 0x46a68b
lock inc dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov dword [eax + 4], edi
test esi, esi
je 0x46a6b9
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46a6b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x46a6b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
sub esp, 8
push dword [ebp + 0xc]
push ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.0046a730
add esp, 0x14
mov esi, eax
jmp 0x46a6d7
xor esi, esi
test edi, edi
je 0x46a6f9
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x46a6f9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x46a6f9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret