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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47705d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0x40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004046a0
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461a3f
lea eax, [ebp + 8]
push eax
push str._RegDLL__Source_file_not_found:
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00401950
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
call fcn.00406be0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4619c1
mov dword [ebp - 0x50], 0
jmp 0x461a13
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x4619e3
mov dword [ebp - 0x54], 0
jmp 0x461a0d
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.004456f0
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00404650
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0043afc2
push 0x48f5c8
lea edx, [ebp - 0x34]
push edx
call fcn.004419cf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004034b0
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x461ab4
mov byte [ebp - 4], 2
push str.DllRegisterServer
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x461a76
call dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x461aad
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004034b0
lea esp, [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x462530
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462562
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x4625c1
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xfffffffe
push eax
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4625b9
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
lea edx, [ebp + 8]
push edx
call fcn.004029b0
call fcn.0045be00
add esp, 4
lea ecx, [ebp + 8]
call fcn.004034b0
mov esp, ebp
pop ebp
ret
Function at 0x465770
Capabilities:
Create http request
Create thread
Delete file
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47760d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x497750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
push 0xc
call fcn.0041d92d
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4657cf
mov ecx, dword [ebp - 0x2c]
call fcn.00406670
mov dword [ebp - 0x38], eax
jmp 0x4657d6
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00403400
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00403400
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x20]
push eax
push 0x462780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4658a3
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp + 8]
push edx
push str.Download_File_Timeout_Or_Installer_Exit_
push ecx
call fcn.00401950
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x49c570]
mov dword [ebp - 0x24], edx
lea ecx, [ebp + 0xc]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0
je 0x4658c8
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
cmp ecx, dword [ebp - 0x10]
sbb edx, edx
neg edx
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004034b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004034b0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x465c20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x30], 0
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x465c77
push ecx
mov eax, esp
mov dword [ebp - 8], esp
lea ecx, [ebp + 8]
push ecx
push str.RMDir_Dir_Not_Exists:
push eax
call fcn.00401950
add esp, 0xc
mov ecx, 0x49c320
call fcn.0046c9c0
lea ecx, [ebp + 8]
call fcn.004034b0
lea ecx, [ebp + 0xc]
call fcn.004034b0
jmp 0x465dd1
push 0
push 0x48426c
lea ecx, [ebp + 8]
call fcn.004017b0
cmp eax, 0xffffffff
je 0x465c98
lea ecx, [ebp + 8]
call fcn.00402920
cmp eax, 4
jge 0x465ccf
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x484270
push edx
call fcn.00401950
add esp, 0xc
mov ecx, 0x49c320
call fcn.0046c9c0
lea ecx, [ebp + 8]
call fcn.004034b0
lea ecx, [ebp + 0xc]
call fcn.004034b0
jmp 0x465dd1
mov byte [ebp - 1], 0
or dword [ebp - 0x30], 1
push 0x4842a4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4842a8
call fcn.00402e50
lea ecx, [ebp - 0x18]
push ecx
call fcn.0045b690
add esp, 8
push eax
call fcn.00405380
add esp, 8
movzx edx, al
test edx, edx
je 0x465d46
or dword [ebp - 0x30], 2
push 0x4842cc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4842d0
call fcn.00402e50
lea eax, [ebp - 0x20]
push eax
call fcn.0045b690
add esp, 8
push eax
call fcn.00405380
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x465d46
mov dword [ebp - 0x34], 1
jmp 0x465d4d
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x30]
and eax, 2
je 0x465d67
and dword [ebp - 0x30], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.004034b0
mov ecx, dword [ebp - 0x30]
and ecx, 1
je 0x465d7b
and dword [ebp - 0x30], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.004034b0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x465d87
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x4842f8
call fcn.00402e50
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004029b0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp + 8]
push eax
call fcn.004029b0
call fcn.00464610
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.004034b0
lea ecx, [ebp + 0xc]
call fcn.004034b0
mov esp, ebp
pop ebp
ret
Function at 0x467430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x2c], 0
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46747f
push ecx
mov eax, esp
mov dword [ebp - 8], esp
lea ecx, [ebp + 8]
push ecx
push 0x4818d0
push eax
call fcn.00401950
add esp, 0xc
mov ecx, 0x49c320
call fcn.0046c9c0
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x4675ba
push 0
push 0x481900
lea ecx, [ebp + 8]
call fcn.004017b0
cmp eax, 0xffffffff
je 0x4674a0
lea ecx, [ebp + 8]
call fcn.00402920
cmp eax, 4
jge 0x4674cf
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x481904
push edx
call fcn.00401950
add esp, 0xc
mov ecx, 0x49c320
call fcn.0046c9c0
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x4675ba
mov byte [ebp - 1], 0
or dword [ebp - 0x2c], 1
push 0x481938
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x48193c
call fcn.00402e50
lea ecx, [ebp - 0x18]
push ecx
call fcn.0045b690
add esp, 8
push eax
call fcn.00405380
add esp, 8
movzx edx, al
test edx, edx
je 0x467546
or dword [ebp - 0x2c], 2
push 0x481960
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x481964
call fcn.00402e50
lea eax, [ebp - 0x20]
push eax
call fcn.0045b690
add esp, 8
push eax
call fcn.00405380
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x467546
mov dword [ebp - 0x30], 1
jmp 0x46754d
mov dword [ebp - 0x30], 0
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x2c]
and eax, 2
je 0x467567
and dword [ebp - 0x2c], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.004034b0
mov ecx, dword [ebp - 0x2c]
and ecx, 1
je 0x46757b
and dword [ebp - 0x2c], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.004034b0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x467587
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48198c
call fcn.00402e50
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 8]
push edx
call fcn.004029b0
call fcn.00465430
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.004034b0
mov esp, ebp
pop ebp
ret
Function at 0x467ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477b0e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x497750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x58
push ecx
push 0x4675c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x68
call fcn.00405ed0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49c560], eax
lea ecx, [ebp - 0x14]
call fcn.00402df0
mov dword [ebp - 4], 0
mov eax, dword [0x49c560]
push eax
push str.QiyiShellParser::ExecUninstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402dc0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004029b0
mov dword [ebp - 0x24], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004034b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x467c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.QiyiShellParser::ExecInstallFailed_______________________________
call fcn.00402e50
mov dword [ebp - 0x14], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
push ecx
push 0x4675c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.00405ed0
mov esp, ebp
pop ebp
ret
Function at 0x467cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477b31
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x497750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x14]
call fcn.00402df0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x49c558]
push eax
push str.QiyiShellParser::ExecInstall________________________________Used_Time:__d_MiliSeconds
lea eax, [ebp - 0x14]
push eax
call fcn.00402dc0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004029b0
mov dword [ebp - 0x28], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
push ecx
push 0x4675c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00405ed0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49c55c], eax
mov eax, dword [0x49c55c]
push eax
push str.QiyiShellParser::ExecInstallOK________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402dc0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004029b0
mov dword [ebp - 0x2c], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004034b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x467de0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477b54
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x497750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
push ecx
push 0x4675c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x68
call fcn.00405ed0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49c558], eax
lea ecx, [ebp - 0x14]
call fcn.00402df0
mov dword [ebp - 4], 0
mov eax, dword [0x49c558]
push eax
push 0x484c60
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402dc0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004029b0
mov dword [ebp - 0x24], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004034b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x467eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.QiyiShellParser::ExecUnInstallInit_______________________________
call fcn.00402e50
mov dword [ebp - 0x14], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
push ecx
push 0x4675c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.00405ed0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x467f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.QiyiShellParser::ExecInstallInit_______________________________
call fcn.00402e50
mov dword [ebp - 0x14], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
push 0x4675c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.00405ed0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x46bfe0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x264
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x258], 0xffffffff
je 0x46c042
mov ecx, dword [ebp - 0x1c]
add ecx, 0x254
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x254]
mov edx, dword [eax + 0x48]
call edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x254
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x254]
mov eax, dword [edx + 0x4c]
call eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x108
call fcn.00404af0
jmp 0x46c064
push 0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
call fcn.00406ca0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x108
call fcn.00401d40
push eax
lea ecx, [ebp - 8]
call fcn.00405410
movzx ecx, al
test ecx, ecx
je 0x46c0b5
push 0x3e8
lea ecx, [ebp - 8]
call fcn.00406c80
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46c0b3
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00406c80
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x46c056
mov ecx, dword [ebp - 0x1c]
call fcn.0046bea0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x1c]
call fcn.00426422
mov esp, ebp
pop ebp
ret
Function at 0x46c0e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.00405dc0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46c114
xor eax, eax
jmp 0x46c1ba
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46c140
xor eax, eax
jmp 0x46c1ba
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0043c970
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00404c90
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46c1c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0043de80
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x101c], ecx
mov word [ebp - 0x1010], 0
push 0xffe
push 0
lea eax, [ebp - 0x100e]
push eax
call fcn.0043ad70
add esp, 0xc
push 0x486474
mov ecx, dword [ebp - 0x101c]
add ecx, 0xa8
push ecx
lea edx, [ebp - 0x1018]
push edx
call fcn.004018a0
add esp, 0xc
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x1020]
call fcn.00406be0
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [ebp - 0x1018]
call fcn.004034b0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
lea edx, [ebp + ecx*2 - 0x1010]
push edx
call fcn.0043ae2f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x46c29e
mov eax, dword [ebp - 0x1014]
add eax, 1
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46c264
mov eax, dword [ebp - 0x1014]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x46c3c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47681d
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x24c]
call fcn.00402df0
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0043ad70
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x250], eax
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x46c4dd
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46c4dd
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x250]
jne 0x46c4b9
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x258], ecx
jmp 0x46c4d0
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46c49d
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x258], 0
jbe 0x46c55e
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x46c55e
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46c55e
mov ecx, dword [ebp - 0x23c]
cmp ecx, dword [ebp - 0x258]
jne 0x46c53a
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x24c]
call fcn.00403240
jmp 0x46c551
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46c518
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004029b0
mov ecx, dword [ebp - 0x25c]
or ecx, 1
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004034b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret 4