joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4721d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48915a
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test ecx, ecx
je 0x4723f3
call fcn.0046e6c0
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x4723f5
xor ebx, ebx
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x47225e
push 8
call fcn.00475618
add esp, 4
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.0046e290
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x420]
xor edi, edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4722a4
push 8
call fcn.00475618
add esp, 4
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], 0x1b
push ecx
mov ecx, eax
call fcn.0046e290
mov edi, eax
mov dword [ebp - 4], 0xffffffff
push 0x14
mov dword [ebp - 0x430], 0
mov esi, 9
call fcn.004759ee
add esp, 4
mov dword [ebp - 0x428], eax
push 0xffffffffffffffff
push str._DESKTOP_
push 0xa
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.0047b6a2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x424], esi
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x428]
push ebx
push eax
mov dword [ebp - 4], 0x20
call fcn.0046f880
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x47231f
push 2
push eax
call fcn.004759e0
add esp, 8
push 0xe
mov dword [ebp - 0x424], 0
mov esi, 6
call fcn.004759ee
add esp, 4
mov dword [ebp - 0x434], eax
push 0xffffffffffffffff
push str._TEMP_
push 7
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0047b6a2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x430], esi
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x434]
push edi
push eax
mov ecx, esi
mov dword [ebp - 4], 0x21
call fcn.0046f880
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x472395
push 2
push eax
call fcn.004759e0
add esp, 8
test ebx, ebx
je 0x4723c2
mov eax, dword [ebx]
test eax, eax
je 0x4723b0
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.004759e0
add esp, 8
test edi, edi
je 0x4723ef
mov eax, dword [edi]
test eax, eax
je 0x4723dd
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.004759e0
add esp, 8
mov eax, esi
jmp 0x4723f5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047540c
mov esp, ebp
pop ebp
ret
Function at 0x4725b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4891ad
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
test edi, edi
je 0x4726ee
call fcn.00472090
test al, al
je 0x4726ee
push 8
call fcn.00475618
mov esi, eax
lea ecx, [ebp - 0x26c]
add esp, 4
mov dword [ebp - 0x270], esi
mov dword [esi], 0
push edi
mov dword [esi + 4], 0
call fcn.0046e320
push ecx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0
call fcn.0046fa70
test al, al
jne 0x472640
push 0x5c
call fcn.0046ee00
lea ecx, [ebp - 0x26c]
test ebx, ebx
je 0x472652
push ebx
call fcn.0046efb0
jmp 0x472659
push 0x2a
call fcn.0046ee00
lea ecx, [ebp - 0x26c]
call fcn.0046f400
mov edi, eax
test edi, edi
je 0x4726d5
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4726ca
nop
push 8
call fcn.00475618
add esp, 4
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0046e290
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.0046e130
lea eax, [ebp - 0x264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4726ca
cmp dword [esi + 4], 0x3e8
jb 0x472680
push 2
push edi
call fcn.004759e0
add esp, 8
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x4726ea
push 2
push eax
call fcn.004759e0
add esp, 8
mov eax, esi
jmp 0x4726f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047540c
mov esp, ebp
pop ebp
ret
Function at 0x472ec0
Capabilities:
Enumerate process modules
Get process image filename

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 0x4892cb
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1230
call fcn.00487d70
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1238], ecx
xor edi, edi
mov dword [ebp - 0x122c], edi
test ecx, ecx
je 0x473116
lea eax, [ebp - 0x1234]
push eax
push 0x1000
lea eax, [ebp - 0x1220]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x473116
xor eax, eax
test dword [ebp - 0x1234], 0xfffffffc
mov dword [ebp - 0x1230], eax
jbe 0x473118
nop dword [eax]
nop dword [eax + eax]
push dword [ebp + eax*4 - 0x1220]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x123c], esi
test esi, esi
je 0x4730f8
mov eax, dword [0x49b8fc]
movups xmm0, xmmword [str._Unknown_]
push 0x1f4
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0
push eax
movups xmmword [ebp - 0x220], xmm0
call fcn.00476e60
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
lea esi, [ebp - 0x220]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x472fd0
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
mov dword [ebp - 0x1224], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004759ee
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1228], ecx
test ecx, ecx
je 0x47303b
xor eax, eax
xor edx, edx
mov word [ecx + esi*2], ax
test esi, esi
je 0x473045
lea edi, [ebp - 0x220]
mov eax, ecx
sub edi, ecx
mov cx, word [edi + eax]
lea eax, [eax + 2]
inc edx
mov word [eax - 2], cx
cmp edx, esi
jb 0x473023
mov edi, dword [ebp - 0x122c]
jmp 0x473045
mov dword [ebp - 0x1224], 0
lea ecx, [ebp - 0x1228]
mov dword [ebp - 4], 0
call fcn.00472520
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1228]
test eax, eax
je 0x47307f
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [ebp - 0x1228], 0
mov dword [ebp - 0x1224], 0
test esi, esi
je 0x4730f8
mov ecx, dword [esi]
test ecx, ecx
je 0x4730cf
cmp dword [esi + 4], 0
jbe 0x4730cf
mov edx, dword [ebp - 0x1238]
mov eax, dword [edx]
test eax, eax
je 0x4730cf
cmp dword [edx + 4], 0
jbe 0x4730cf
push eax
push ecx
call fcn.004798e0
add esp, 8
test eax, eax
jne 0x4730cf
mov ecx, dword [ebp - 0x123c]
call fcn.00472b60
test eax, eax
cmovne edi, eax
mov dword [ebp - 0x122c], edi
mov eax, dword [esi]
test eax, eax
je 0x4730e6
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.004759e0
add esp, 8
mov eax, dword [ebp - 0x1230]
mov ecx, dword [ebp - 0x1234]
inc eax
shr ecx, 2
mov dword [ebp - 0x1230], eax
cmp eax, ecx
jb 0x472f60
mov eax, edi
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.0047540c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4741e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4894a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4a1b04]
test esi, esi
je 0x474369
cmp dword [esi + 4], 0
je 0x4742b2
cmp byte [esi + 8], 0
mov ecx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jne 0x474280
mov byte [esi + 8], 1
mov edi, 0x64
xor bl, bl
lea eax, [edi - 1]
mov dword [ebp - 0x14], eax
cmp byte [esi + 9], bl
je 0x474266
mov eax, dword [esi + 4]
test eax, eax
je 0x474266
lea edx, [ebp - 0x10]
push edx
push eax
call ecx
test eax, eax
je 0x474266
cmp dword [ebp - 0x10], 0x103
mov eax, 1
movzx ebx, bl
cmovne ebx, eax
xor edi, edi
test bl, bl
push 0x64
cmove edi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test edi, edi
jne 0x474235
cmp byte [esi + 9], 0
je 0x4742a1
mov eax, dword [esi + 4]
test eax, eax
je 0x4742a1
lea edx, [ebp - 0x14]
push edx
push eax
call ecx
test eax, eax
je 0x4742a1
cmp dword [ebp - 0x14], 0x103
jne 0x4742ac
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, dword [0x4a1b04]
test esi, esi
je 0x4742d8
mov ecx, esi
mov dword [esi], vtable.ODebugThread.0
call fcn.00474bb0
push 0x18
push esi
call fcn.004759e0
add esp, 8
mov dword [0x4a1b04], 0
mov eax, dword [0x4a1b34]
xor edi, edi
test eax, eax
je 0x47435f
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [0x4a1b30]
cmp edi, eax
jae 0x47435a
test ecx, ecx
je 0x47435a
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x47435a
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push eax
call ebx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47431f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], 0
mov eax, dword [esi]
test eax, eax
je 0x474336
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [esi], 0
push 0x24
push esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004759e0
mov eax, dword [0x4a1b34]
add esp, 8
mov ecx, dword [0x4a1b30]
inc edi
cmp edi, eax
jb 0x4742f3
mov dword [0x4a1b34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x474ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov esi, ecx
lea eax, [ebp + 8]
push 1
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x474ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov esi, ecx
lea eax, [ebp + 8]
push 2
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x474b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov esi, ecx
lea eax, [ebp + 8]
push 4
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x474b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov esi, ecx
lea eax, [ebp + 8]
push 8
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x474b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x480b4e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004807f0
Function at 0x401000
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x407c20
push 0x403920
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x409004]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x460], ecx
xor esi, esi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x448], esi
xor ebx, ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 4], esi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x454], edi
cmp edi, 0xffffffff
je 0x40117f
mov dword [ebp - 0x444], 0x428
push 0x424
push esi
lea edx, [ebp - 0x440]
push edx
call fcn.00403b60
add esp, 0xc
mov dword [ebp - 0x458], esi
lea eax, [ebp - 0x444]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x401106
mov esi, dword [ebp - 0x460]
push esi
lea ecx, [ebp - 0x424]
push ecx
call fcn.00401702
add esp, 8
test eax, eax
je 0x4010e7
push esi
lea edx, [ebp - 0x224]
push edx
call fcn.00401702
add esp, 8
test eax, eax
je 0x4010e7
xor esi, esi
jmp 0x4010ec
mov esi, 1
mov dword [ebp - 0x458], esi
test esi, esi
jne 0x40110a
lea eax, [ebp - 0x444]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x4010b1
test esi, esi
je 0x40117f
mov ecx, dword [ebp - 0x45c]
push ecx
push 0
push 0x40a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x448], eax
test eax, eax
je 0x40117f
push str.FreeLibrary
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40117f
push 0
push 0
mov edx, dword [ebp - 0x430]
push edx
push eax
push 0
push 0
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
mov dword [ebp - 0x450], ebx
test ebx, ebx
je 0x40117f
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44c], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.004011bb
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00401569
mov esp, ebp
pop ebp
ret 4
Function at 0x4011e0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x407c40
push 0x403920
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x409004]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
push esi
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, esi
je 0x4012cb
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
push 4
push 0x1000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4012cb
push 0
push ebx
mov edx, dword [ebp + 0xc]
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4012cb
push 0x40790c
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4012cb
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4012cb
push 0xffffffffffffffff
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0040132d
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventW]
push 1
call edi
push str.OnlyOnehuamaoClockDate64DLL
push 0
push 2
call ebx
mov esi, eax
test esi, esi
je 0x4012e3
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
call section..text
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401360
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x22c
lea ecx, [ebp - 0x230]
push 0
push ecx
mov dword [ebp - 0x234], eax
call fcn.00403b60
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4013bf
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401569
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x230]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4013ae
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop
push str.explorer.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x40141a
lea ecx, [ebp - 0x230]
push ecx
push esi
call ebx
test eax, eax
jne 0x4013e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401569
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x234]
push esi
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00401569
mov esp, ebp
pop ebp
ret

Function at 0x401450
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push str.OnlyOneHMRLInstance
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4014a1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401569
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x238]
push eax
call fcn.00401360
add esp, 4
test eax, eax
je 0x40148d
mov esi, dword [ebp - 0x238]
xor eax, eax
push esi
lea edx, [ebp - 0x2c]
xor ecx, ecx
push 0x407998
push edx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x232]
push ecx
mov word [ebp - 0x234], ax
call fcn.00403b60
add esp, 0x18
push 0x104
lea edx, [ebp - 0x234]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.HmClockDate32.dll
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x234]
push edx
push esi
call fcn.004011e0
mov ecx, dword [ebp - 4]
add esp, 8
neg eax
sbb eax, eax
pop edi
xor ecx, ebp
neg eax
pop esi
call fcn.00401569
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401569
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409004]
jne 0x401573
repz ret
jmp fcn.0040192d

Function at 0x40525c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402450
and dword [ebp - 0x14], 0
cmp dword [0x40a778], 0
mov dword [ebp - 0x18], eax
jne 0x40530f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4053b7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4053b7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40a778], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40a77c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40a780], eax
call edi
push eax
call esi
mov dword [0x40a788], eax
test eax, eax
je 0x40530f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40a784], eax
mov eax, dword [0x40a784]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405368
cmp dword [0x40a788], ecx
je 0x405368
push eax
call esi
push dword [0x40a788]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405368
test ebx, ebx
je 0x405368
call edi
test eax, eax
je 0x40535f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40535f
test byte [ebp - 8], 1
jne 0x405368
or dword [ebp + 0x10], 0x200000
jmp 0x40539b
mov eax, dword [0x40a77c]
cmp eax, dword [ebp - 0x18]
je 0x40539b
push eax
call esi
test eax, eax
je 0x40539b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40539b
mov eax, dword [0x40a780]
cmp eax, dword [ebp - 0x18]
je 0x40539b
push eax
call esi
test eax, eax
je 0x40539b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40a778]
call esi
test eax, eax
je 0x4053b7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4053b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401569
leave
ret