joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443b20
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4e3018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x16c], 0
je 0x443c2b
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, edi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0x170]
mov edx, dword [edi + 0x64]
sub ecx, ebx
sub edx, dword [edi + 0x5c]
mov eax, dword [esp + 0x20]
add edx, ebx
mov esi, dword [edi + 0x154]
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
sub esi, dword [edi + 0x15c]
mov eax, dword [edi + 0x164]
sub esi, ebx
add esi, edx
mov dword [esp + 0x18], eax
cmp ecx, esi
mov ebx, esi
cmovle ebx, ecx
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x443c0b
mov ebx, dword [edi + 0x160]
cmp dword [esp + 0x14], esi
jne 0x443be9
sub ebx, edx
add ebx, dword [esp + 0x10]
mov dword [edi + 0x164], ebx
jmp 0x443c15
sub edx, dword [esp + 0x10]
mov eax, edx
cdq
mov esi, eax
mov eax, dword [esp + 0x14]
push edx
imul ebx
push esi
push edx
push eax
call fcn.004af970
mov dword [edi + 0x164], eax
test eax, eax
jns 0x443c15
mov dword [edi + 0x164], 0
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push ecx
push 0x4b0
mov ecx, edi
call dword [eax + 0x28]
jmp 0x443cbc
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [edi + 0x150]
sub esp, 0x10
mov ecx, edi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.00443e00
mov ecx, dword [edi + 0x13c]
test eax, eax
je 0x443c7f
cmp ecx, 1
je 0x443cbc
mov dword [edi + 0x13c], 1
jmp 0x443c8d
test ecx, ecx
je 0x443cbc
mov dword [edi + 0x13c], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd0]
test eax, eax
je 0x443cbc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x98]
test eax, eax
je 0x443cbc
mov ecx, dword [edi + 0x44]
sub esp, 0x10
movups xmm0, xmmword [edi + 0x58]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486999
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4450d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x84], eax
je 0x445139
mov dword [edi + 0x84], eax
push esi
mov esi, dword [edi + 0x34]
cmp esi, dword [edi + 0x38]
je 0x445122
mov ecx, dword [esi]
test ecx, ecx
je 0x44511a
cmp dword [edi + 0x84], 0
je 0x44510f
cmp dword [edi + 0x88], 0
je 0x44510f
mov edx, 1
jmp 0x445111
xor edx, edx
mov eax, dword [ecx]
push edx
call dword [eax + 0xd4]
add esi, 4
cmp esi, dword [edi + 0x38]
jne 0x4450f0
mov ecx, dword [edi + 0x40]
pop esi
test ecx, ecx
je 0x44512f
call fcn.00417f10
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x134]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd0]
mov edx, dword [edi]
mov ecx, edi
test eax, eax
je 0x445161
push 5
call dword [edx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 4
push 0
call dword [edx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x445180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x88], eax
je 0x4451dd
mov dword [edi + 0x88], eax
push esi
mov esi, dword [edi + 0x34]
cmp esi, dword [edi + 0x38]
je 0x4451d2
mov ecx, dword [esi]
test ecx, ecx
je 0x4451ca
cmp dword [edi + 0x84], 0
je 0x4451bf
cmp dword [edi + 0x88], 0
je 0x4451bf
mov edx, 1
jmp 0x4451c1
xor edx, edx
mov eax, dword [ecx]
push edx
call dword [eax + 0xd4]
add esi, 4
cmp esi, dword [edi + 0x38]
jne 0x4451a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x134]
pop esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd0]
mov edx, dword [edi]
mov ecx, edi
test eax, eax
je 0x445205
push 5
call dword [edx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 4
push 0
call dword [edx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x44d610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x130]
test eax, eax
je 0x44d655
cmp dword [ebp + 8], 0
jne 0x44d638
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
call dword [eax + 0xd0]
test eax, eax
je 0x44d655
mov eax, dword [esi + 0x130]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x452540
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4e3018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x16c], 0
je 0x452629
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x170]
mov edi, dword [esi + 0x60]
sub ecx, ebx
sub edi, dword [esi + 0x58]
mov eax, dword [esp + 0x1c]
add edi, ebx
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov eax, edi
sub eax, dword [esi + 0x158]
sub eax, ebx
add eax, dword [esi + 0x150]
cmp ecx, eax
mov dword [esp + 0x14], eax
mov edx, eax
mov eax, dword [esi + 0x164]
cmovle edx, ecx
mov dword [esp + 0xc], eax
test edx, edx
jne 0x4525f3
xor eax, eax
jmp 0x45260d
mov eax, dword [esi + 0x160]
cmp edx, dword [esp + 0x14]
jne 0x452605
sub eax, edi
add eax, ebx
jmp 0x45260d
imul eax, edx
sub edi, ebx
cdq
idiv edi
mov dword [esi + 0x164], eax
lea ecx, [esp + 0xc]
mov eax, dword [esi]
push ecx
push 0x4b2
mov ecx, esi
call dword [eax + 0x28]
jmp 0x4526ba
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x150]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.004527d0
mov ecx, dword [esi + 0x13c]
test eax, eax
je 0x45267d
cmp ecx, 1
je 0x4526ba
mov dword [esi + 0x13c], 1
jmp 0x45268b
test ecx, ecx
je 0x4526ba
mov dword [esi + 0x13c], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
je 0x4526ba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x4526ba
mov ecx, dword [esi + 0x44]
sub esp, 0x10
movups xmm0, xmmword [esi + 0x58]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486999
mov esp, ebp
pop ebp
ret 0x10
Function at 0x459ae0
Capabilities:
Create process on windows
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5f56
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4e3018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x3c
lea eax, [ebp - 0x478]
push 0
push eax
call fcn.00489020
add esp, 0xc
lea eax, [ebp - 0x43c]
mov ecx, esi
push eax
call fcn.00459d60
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00489020
add esp, 0xc
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x459d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push 0x4cd678
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 1
push str.CO_sEC
push eax
call fcn.00403ab0
mov esi, dword [ebp - 0x424]
add esp, 0xc
or ebx, 0xffffffff
cmp dword [ebp - 0x42c], 0
je 0x459d01
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x459d01
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x420]
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
push 0x208
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x478], 0x3c
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], str.Open
call fcn.00489020
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x459d4a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x47c]
call fcn.004041f0
test al, al
jne 0x459c86
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459c64
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x47c]
call fcn.004044f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x460], eax
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459cad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x478]
mov dword [ebp - 0x45c], 0
push eax
mov dword [ebp - 0x474], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x459d01
push 0x40
push dword [ebp - 0x440]
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x459d1a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x43c]
call fcn.0042c640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486999
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
int3
Function at 0x45c8d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x4e3018]
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 0x45c93f
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45c93f
push 0x228
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00489020
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 0x45c958
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.00486999
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 0x45c98b
push dword [esi + 8]
mov ecx, edi
push edi
call fcn.0041c890
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.004869a7
add esp, 8
cmp byte [esi + 0xd], 0
je 0x45c967
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 0x45c9c1
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0045cf00
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x45c9a0
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.00486999
mov esp, ebp
pop ebp
ret 8
Function at 0x4600b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4e3018]
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 0x460249
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 0x460181
push 0x20a
xor esi, esi
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.00489020
add esp, 0xc
cmp dword [ebp - 0x420], esi
jbe 0x460181
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 0x460178
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x424]
call edi
inc esi
cmp esi, dword [ebp - 0x420]
jb 0x460150
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.00489020
push dword [ebp - 0x428]
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00498bec
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.00488618
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4601f1
lea eax, [ebp - 0x210]
push 0x2f
push eax
call fcn.00488618
mov esi, eax
add esp, 8
test esi, esi
je 0x460246
mov eax, esi
lea ecx, [ebp - 0x210]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x20a
jae 0x460259
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 0x46023e
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.00486999
mov esp, ebp
pop ebp
ret 4
call fcn.004870b5
int3
Function at 0x4612b0
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 0x4b6ac0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x4e3018]
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 0x461342
push 0x10
lea eax, [ebp - 0x23c]
push eax
call fcn.004614b0
mov esi, eax
cmp edi, esi
je 0x461337
mov ecx, edi
call fcn.0042c640
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.0042c640
cmp dword [edi + 0x28], 0
jne 0x461395
push 2
lea eax, [ebp - 0x23c]
push eax
call fcn.004614b0
mov esi, eax
lea eax, [edi + 0x18]
cmp eax, esi
je 0x46138a
mov ecx, eax
call fcn.0042c640
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.0042c640
cmp dword [edi + 0x40], 0
jne 0x46146e
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00489020
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4614a1
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.00403ab0
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 0x461430
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.0042c6a0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46146e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x28], 0
je 0x46147e
cmp dword [edi + 0x10], 0
je 0x46147e
xor eax, eax
jmp 0x461483
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.00486999
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404610
int3
Function at 0x4614b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e3018]
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 0x4615ab
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 0x461595
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00489020
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x461579
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 0x461560
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
jmp 0x4615ca
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 0x4c7c00
mov ecx, esi
call fcn.0042c6a0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00486999
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4e3018]
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.00489020
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 0x461a1b
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 0x461a1b
mov ecx, 0x2710
cmp dword [ebp + 0x10], eax
jne 0x461a33
cmp esi, 5
ja 0x461a33
mov eax, 0xaaaaaaab
mul dword [ebp - 8]
shr edx, 1
cmp edx, 0x3e8
jae 0x4619f6
mov edx, 0x3e8
jmp 0x4619ff
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 0x4619d3
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486999
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.00486999
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4627a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6c88
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e3018]
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], 0x4f7c00
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], 0x4f7c00
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x4c8e5c
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00461b10
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 0x462aa0
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 0x462adc
cmp byte [esi + 0x2c], bl
jne 0x462bc6
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 0x462ad0
jmp 0x462bac
mov edi, dword [esi + 0x18]
test edi, edi
je 0x462af2
mov ecx, edi
mov edi, dword [edi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test edi, edi
jne 0x462ae3
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.004968b0
push ebx
call fcn.00496ec3
push 0
mov edi, eax
push 0
push ebx
mov dword [ebp + 8], edi
call fcn.004968b0
add esp, 0x1c
test edi, edi
jg 0x462b5d
cmp byte [esi + 0x2c], 0
jne 0x462bc6
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 0x462b54
jmp 0x462bac
lea eax, [edi + 1]
push eax
call fcn.004873db
push ebx
mov ebx, dword [ebp + 8]
mov edi, eax
push 1
push ebx
push edi
mov byte [edi], 0
call fcn.004970b4
add esp, 0x14
cmp eax, 1
je 0x462bcf
push edi
call fcn.00486f85
add esp, 4
cmp byte [esi + 0x2c], 0
jne 0x462bc6
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 0x462ba5
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x34]
call fcn.00461b10
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 0x462bfe
nop dword [eax]
inc eax
lea ebx, [ecx + 1]
cmp dl, 0xd
jne 0x462bf4
mov byte [ecx], 0xa
cmp byte [eax], 0xa
jne 0x462bf6
inc eax
jmp 0x462bf6
mov byte [ecx], dl
mov dl, byte [eax]
mov ecx, ebx
test dl, dl
jne 0x462be0
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.00486f85
add esp, 4
cmp byte [esi + 0x2c], 0
sete al
pop edi
pop esi
pop ebx
pop ebp
ret 8