joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004a956
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp byte [ebp + 0xc], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
je 0x1004a98d
cmp byte [edx], 0
je 0x1004aa34
push ecx
push 0x5d25
push 0
mov edx, 0x4462
call fcn.1004aa3b
add esp, 0xc
jmp 0x1004aa34
mov dword [ebp - 0xc], 0xbf6
cmp dword [ebp - 0xc], 0xc3a
push 0
pop edi
jle 0x1004aa11
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
lea eax, [edi + esi]
xor eax, ecx
lea ecx, [ebp - 0x28]
xor eax, ebx
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1004a9ce
mov eax, dword [eax]
push eax
call fcn.1004d87c
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.1000d197
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x5d4d
jl 0x1004a9b2
inc ebx
cmp ebx, 0x6a19
jl 0x1004a9ad
inc edi
cmp edi, 0x479d
jl 0x1004a9ab
inc esi
push 0
pop edi
cmp esi, 0x7777
jl 0x1004a9ab
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0xc], 0xaa6
jge 0x1004aa25
push str.jig_ugwhcddwg_ybec_ferbq_xjmyu_uai_ecp
call fcn.1004d87c
pop ecx
cmp byte [ebx], 0
je 0x1004aa34
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_InsertMenuItemW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100014b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov dword [esi], 0
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0xc]
push ecx
call fcn.10006b90
add esp, 0x10
cmp byte [esp], 0
je 0x1000153a
lea eax, [esp]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100014f7
mov edx, dword [str.NPAV_DBG.ini]
mov ecx, dword [0x1001bb58]
mov dword [eax], edx
mov edx, dword [0x1001bb5c]
mov dword [eax + 4], ecx
mov cl, byte [0x1001bb60]
mov dword [eax + 8], edx
lea edx, [esp]
push edx
push 0
push 0x1001bab8
push str.data
mov byte [eax + 0xc], cl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi], eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
mov eax, esi
call fcn.100191d2
add esp, 0x108
ret

Function at 0x100015b0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x100015a0
push 0
push 0
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ecx
ret

Function at 0x10001660
Capabilities:
Create directory

Disassembly:
sub esp, 0x210
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
push esi
mov edi, str.IN_CheckForPendingJOb__
call fcn.10002690
push 0x1ff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call fcn.10001b60
lea eax, [esp + 8]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100016a8
mov edx, dword [str.LaunchMgr]
mov ecx, dword [0x1001bc30]
mov dword [eax], edx
mov dx, word [0x1001bc34]
mov dword [eax + 4], ecx
mov cl, byte [0x1001bc36]
mov word [eax + 8], dx
push 0
lea edx, [esp + 0xc]
push edx
mov byte [eax + 0xa], cl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [esp + 8]
mov ecx, esi
call fcn.10001840
push esi
mov edi, str.OUT_CheckForPendingJOb__
call fcn.10002690
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
mov eax, 1
call fcn.100191d2
add esp, 0x210
ret
Function at 0x10001720
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
push edi
push ebx
mov edi, str.Inside_NotifyJob_Change
call fcn.10002690
push 0x1ff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call fcn.10001b60
lea eax, [esp + 8]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001770
mov edx, dword [str.LaunchMgr]
mov ecx, dword [0x1001bc30]
mov dword [eax], edx
mov dx, word [0x1001bc34]
mov dword [eax + 4], ecx
mov cl, byte [0x1001bc36]
mov word [eax + 8], dx
push 0
lea edx, [esp + 0xc]
push edx
mov byte [eax + 0xa], cl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ebx, [ebx]
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100017cb
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001820
test esi, esi
je 0x10001820
push ebx
mov edi, str.Waiting_on_job_Chnage
call fcn.10002690
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
mov edi, str.job_Chnage_Found
call fcn.10002690
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 8]
mov ecx, ebx
call fcn.10001840
push esi
call dword [sym.imp.KERNEL32.dll_FindNextChangeNotification]
jmp 0x100017b0
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100191d2
mov esp, ebp
pop ebp
ret
Function at 0x10001840
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x554
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x550], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
push ebx
mov edi, str.IN_SearchForJobs__
mov dword [esp + 0x14], esi
call fcn.10002690
push 0x1ff
lea eax, [esp + 0x35d]
push 0
push eax
mov byte [esp + 0x364], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1ff
lea ecx, [esp + 0x15d]
push 0
push ecx
mov byte [esp + 0x164], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
lea edx, [esp + 0x35c]
push str._s.
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10001907
push ebx
mov edi, str.OUT1_SearchForJobs__
call fcn.10002690
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x550]
xor ecx, esp
call fcn.100191d2
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
test byte [esp + 0x18], 0x10
jne 0x1000197a
push 0x200
lea edx, [esp + 0x15c]
push 0
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push esi
lea ecx, [esp + 0x160]
push 0x1001bccc
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
lea esi, [esp + 0x158]
call fcn.10001ab0
push ebx
test eax, eax
je 0x10001970
mov edi, str.Successfully_Job_Action_Done
call fcn.10002690
push ebx
mov ecx, esi
call fcn.100019c0
test eax, eax
je 0x1000197a
push ebx
mov edi, str.Successfully_Job_File_Moved
jmp 0x10001975
mov edi, str.Problem_in_Job_Action___Done_Move
call fcn.10002690
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10001903
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
mov edi, str.OUT2_SearchForJobs__
call fcn.10002690
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100191d2
mov esp, ebp
pop ebp
ret
Function at 0x100019c0
Capabilities:
Create directory
Move file

Disassembly:
sub esp, 0x804
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x800], eax
push ebp
mov ebp, dword [esp + 0x80c]
push esi
push edi
push 0x3ff
lea eax, [esp + 0x411]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x418], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x40c]
push ecx
call fcn.10001b60
push 0x3ff
lea edx, [esp + 0x11]
push 0
push edx
mov byte [esp + 0x18], 0
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x418]
push eax
lea ecx, [esp + 0x1c]
push str._sLaunchMgrDoneJob_
push ecx
call edi
add esp, 0x18
push 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push str._s_s
push ecx
call edi
add esp, 0x10
push 1
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x10001a8b
push ebp
mov edi, str.Failed_To_Move_File
call fcn.10002690
mov ecx, dword [esp + 0x80c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.100191d2
add esp, 0x804
ret 4
Function at 0x100023c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0x170
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebp
mov ebp, dword [esp + 0x178]
push edi
push ebp
mov edi, str.Inside_CallFile___Shell_Function..._Path_and_Cmdline_Below
mov dword [esp + 0x10], 0
call fcn.10002690
push ebp
mov edi, esi
call fcn.10002690
push ebp
mov edi, ebx
call fcn.10002690
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100024f5
mov edi, 1
cmp dword [0x10022868], edi
jne 0x10002472
push 0x3c
xor edi, edi
lea eax, [esp + 0x24]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], str.runAs
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], 0x1001bb53
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [esp + 0xc], eax
jmp 0x10002500
push 0x44
lea edx, [esp + 0x24]
push 0
push edx
call sub.MSVCR90.dll_memset
push ebx
xor eax, eax
push esi
lea edx, [esp + 0x7c]
mov ecx, 5
push str._s__s
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x44
mov word [esp + 0x6e], ax
mov dword [esp + 0x68], edi
mov word [esp + 0x6c], cx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea edx, [esp + 0x88]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10002500
mov dword [esp + 0xc], edi
jmp 0x10002500
push ebp
mov edi, str.Shelling_commad_file_not_exist
call fcn.10002690
push ebp
mov edi, str.Outside_CallFile___Shell_Function...
call fcn.10002690
mov ecx, dword [esp + 0x174]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
xor ecx, esp
call fcn.100191d2
add esp, 0x170
ret 4
Function at 0x10002530
Capabilities:
Check os version

Disassembly:
sub esp, 0xa4
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
push edi
push 0x9c
xor esi, esi
lea eax, [esp + 0x10]
push esi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 1
mov dword [0x10022074], edi
mov dword [0x10022868], esi
mov dword [0x1002286c], esi
mov dword [0x10022870], esi
mov dword [0x10022874], esi
mov dword [0x10022878], esi
mov dword [0x1002287c], esi
mov dword [0x10022880], esi
mov dword [0x10022884], esi
mov dword [0x10022888], esi
cmp dword [esp + 0x1c], edi
jne 0x100025bb
mov dword [0x10022074], esi
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x100025e5
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x100025d2
mov dword [0x1002286c], edi
mov dword [0x10022868], edi
cmp eax, 2
jne 0x1000262e
mov dword [0x10022880], edi
jmp 0x1000262e
cmp eax, 5
jne 0x1000262e
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x100025fb
mov dword [0x10022870], edi
jmp 0x1000262e
cmp eax, edi
jne 0x1000262e
mov ax, word [esp + 0xa0]
cmp ax, 2
jne 0x10002615
mov dword [0x10022874], edi
jmp 0x1000262e
cmp ax, di
jne 0x10002622
mov dword [0x10022878], edi
jmp 0x1000262e
cmp ax, 3
jne 0x1000262e
mov dword [0x1002287c], edi
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002244c], eax
cmp eax, esi
je 0x10002664
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x1002244c]
cmp dword [esp + 8], esi
je 0x10002670
mov dword [0x10022884], edi
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
xor ecx, esp
call fcn.100191d2
add esp, 0xa4
ret
Function at 0x10003260
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
push ebp
push esi
push edi
xor ebp, ebp
push eax
mov dword [esp + 0x14], ebp
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x124
mov esi, eax
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0x24], ebp
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x63
lea ecx, [esp + 0x145]
push ebp
push ecx
mov byte [esp + 0x14c], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x63
lea edx, [esp + 0x1ad]
push ebp
push edx
mov byte [esp + 0x1b4], 0
call sub.MSVCR90.dll_memset
lea edx, [esp + 0x14c]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100032e5
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x100033f8
mov edi, 1
call fcn.10003610
push 0
push 2
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000348b
mov ebp, dword [sym.imp.MSVCR90.dll_sprintf]
mov esi, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x1ac]
push 0x1001c38c
push eax
call ebp
add esp, 0xc
test edi, edi
jne 0x100033ff
lea ecx, [esp + 0x3c]
push 0x5c
push ecx
call dword [sym.imp.MSVCR90.dll_strrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x10003376
inc esi
lea edx, [esp + 0x140]
push esi
push edx
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x10003451
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x144]
push ecx
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x10003451
lea edx, [esp + 0x140]
push edx
push esi
call dword [sym.imp.MSVCR90.dll_strstr]
add esp, 8
test eax, eax
jne 0x10003451
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10003340
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1000348d
xor edi, edi
jmp 0x1000330a
cmp edi, 1
jne 0x10003376
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x144]
push eax
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x10003451
lea ecx, [esp + 0x1a8]
push ecx
lea edx, [esp + 0x144]
push edx
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x10003451
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x40]
push ecx
jmp 0x100033ba
mov edx, dword [esp + 0x20]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100033e2
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1000348d
mov eax, ebp
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100191d2
add esp, 0x20c
ret 4
Function at 0x100034b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x1001a45c
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10022018]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x174]
mov esi, ecx
push ebx
mov edi, str.IN_ParseFileKP
mov dword [esp + 0x18], esi
call fcn.10002690
push ebx
mov edi, esi
call fcn.10002690
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1000353a
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x3c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10003541
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100035cb
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x58]
push esi
push edx
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10003590
mov eax, dword [esp + 0x3c]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100035f5
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov ebx, eax
call ebp
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x34]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10003547
push edi
call ebp
mov edx, dword [esp + 0x174]
push edx
mov edi, str.OUT_ParseFileKP
call fcn.10002690
mov eax, ebx
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.100191d2
add esp, 0x15c
ret 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
jmp 0x100035cb
Function at 0x10003610
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10003648
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcessToken_failed_with__d_n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
xor eax, eax
pop esi
add esp, 0x20
ret
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x1000367a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LookupPrivilegeValue_failed_with__d_n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
xor eax, eax
pop esi
add esp, 0x20
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push 0
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x100036d6
call esi
push eax
push str.AdjustTokenPrivileges_failed_with__d_n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, 1
pop esi
add esp, 0x20
ret

Function at 0x10003c80
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebp
push esi
push 0
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x10003d05
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
jne 0x10003d05
mov ebp, dword [sym.imp.MSVCR90.dll__mbsicmp]
nop
lea edx, [esp + 0x2c]
push edi
push edx
call ebp
add esp, 8
test eax, eax
je 0x10003cf1
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x10003cd0
jmp 0x10003d05
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop esi
pop ebp
xor ecx, esp
call fcn.100191d2
add esp, 0x134
ret
Function at 0x10003d30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x9c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x98], eax
push ebp
mov ebp, dword [esp + 0xa4]
push edi
mov edi, dword [sym.imp.MSVCR90.dll__stricmp]
push str.BELOW_NORMAL
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003d91
push 0x4000
push ebx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x10003e38
xor eax, eax
mov ecx, dword [esp + 0xa0]
pop edi
pop ebp
xor ecx, esp
call fcn.100191d2
add esp, 0x9c
ret 4
push str.NORMAL
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003da4
push 0x20
jmp 0x10003d67
push str.HIGH
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003dba
push 0x80
jmp 0x10003d67
push str.ABOVE_NORMAL
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003dd0
push 0x8000
jmp 0x10003d67
push str.REALTIME
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003de6
push 0x100
jmp 0x10003d67
push 0x1001c2a0
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003d76
push 0x95
push eax
mov byte [esp + 0x10], al
lea eax, [esp + 0x11]
push eax
call sub.MSVCR90.dll_memset
push ebp
lea ecx, [esp + 0x18]
push str.process_where_name__s__call_setpriority_64
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
push 0
push 0
lea edx, [esp + 0x10]
push edx
push str.wmic.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
jmp 0x10003d78

Function at 0x10003f00
Capabilities:
Check if file exists
Delete file

Disassembly:
sub esp, 0x4a8
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x4a0], eax
push esi
mov esi, dword [0x1002288c]
push 0x3ff
lea eax, [esp + 0xa5]
push 0
push eax
mov byte [esp + 0xac], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1001bf08
push esi
mov esi, dword [sym.imp.MSVCR90.dll__mbstok]
call esi
add esp, 8
test eax, eax
je 0x10003fb5
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003f50
push 0x1001bf08
push 0
call esi
add esp, 8
test eax, eax
je 0x10003fb5
lea edx, [esp + 0xa0]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10003f70
lea ecx, [esp + 0xa0]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10003fb5
lea ecx, [esp + 0xa0]
call fcn.10004600
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10003fb5
push edi
mov ecx, 0x10022890
call fcn.100019c0
mov ecx, dword [esp + 0x4a4]
pop esi
xor ecx, esp
call fcn.100191d2
add esp, 0x4a8
ret
Function at 0x10003fd0
Capabilities:
Delete file

Disassembly:
sub esp, 0x918
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x910], eax
push esi
mov esi, dword [0x1002288c]
push 0x1001bf04
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10003ffe
mov byte [eax], 0
push 0x3ff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x515]
push 0
push ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x51c], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1001bf08
push esi
mov esi, dword [sym.imp.MSVCR90.dll__mbstok]
call esi
add esp, 8
test eax, eax
je 0x100040c8
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004053
push 0x1001bf08
push 0
call esi
add esp, 8
test eax, eax
je 0x100040c8
lea edx, [esp + 8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10004070
push 0xa
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_strtoul]
add esp, 0xc
lea ecx, [esp + 0x510]
push ecx
push eax
call fcn.10011c30
add esp, 8
push str.C:zvGCLFPID.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.C:zvGCLFPID.ini
lea edx, [esp + 0x514]
push edx
lea eax, [esp + 0x10]
push eax
push str.GCLFPID
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x914]
pop esi
xor ecx, esp
call fcn.100191d2
add esp, 0x918
ret