joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465940
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x49b7c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 8]
call fcn.004017f0
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPPStream
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4659cb
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.SetupPath
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 8]
call fcn.004051b0
push str.QYPlugin.dll
lea ecx, [ebp - 8]
call fcn.00405a00
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.00403e00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465a72
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 8]
push edx
call fcn.00403480
call sym.QiyiInstaller.exe_RegDLL
add esp, 4
push str._regsvr32.exe
push 0x4a04bc
lea eax, [ebp - 0x128]
push eax
call fcn.00401e60
add esp, 0xc
lea ecx, [ebp - 0x124]
call fcn.004017f0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x128]
push edx
push str._s_s__s0hide
lea eax, [ebp - 0x124]
push eax
call fcn.00401870
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea edx, [ebp - 0x124]
push edx
call fcn.00403480
call sym.QiyiInstaller.exe_Run
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.00405f40
lea ecx, [ebp - 0x128]
call fcn.00405f40
lea ecx, [ebp - 8]
call fcn.00405f40
lea ecx, [ebp + 8]
call fcn.00405f40
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043bdb2
mov esp, ebp
pop ebp
ret
Function at 0x467000
Capabilities:
Create http request
Create thread
Delete file
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a67e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49b7c0]
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.0041de63
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x46705f
mov ecx, dword [ebp - 0x2c]
call fcn.00406e40
mov dword [ebp - 0x38], eax
jmp 0x467066
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.00403bb0
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00403bb0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x20]
push eax
push 0x463ab0
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 0x467133
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.00401f10
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, 0x4a0408
call fcn.0046e4a0
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 [0x4a065c]
mov dword [ebp - 0x24], edx
lea ecx, [ebp + 0xc]
call fcn.00403e00
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 0x467158
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.00405f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405f40
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 0x4674b0
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.00403e00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x467507
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.00401f10
add esp, 0xc
mov ecx, 0x4a0408
call fcn.0046e4a0
lea ecx, [ebp + 8]
call fcn.00405f40
lea ecx, [ebp + 0xc]
call fcn.00405f40
jmp 0x467661
push 0
push 0x487334
lea ecx, [ebp + 8]
call fcn.00401de0
cmp eax, 0xffffffff
je 0x467528
lea ecx, [ebp + 8]
call fcn.004033f0
cmp eax, 4
jge 0x46755f
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x487338
push edx
call fcn.00401f10
add esp, 0xc
mov ecx, 0x4a0408
call fcn.0046e4a0
lea ecx, [ebp + 8]
call fcn.00405f40
lea ecx, [ebp + 0xc]
call fcn.00405f40
jmp 0x467661
mov byte [ebp - 1], 0
or dword [ebp - 0x30], 1
push 0x48736c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x487370
call fcn.00403620
lea ecx, [ebp - 0x18]
push ecx
call fcn.0045c9d0
add esp, 8
push eax
call fcn.00405e50
add esp, 8
movzx edx, al
test edx, edx
je 0x4675d6
or dword [ebp - 0x30], 2
push 0x487394
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x487398
call fcn.00403620
lea eax, [ebp - 0x20]
push eax
call fcn.0045c9d0
add esp, 8
push eax
call fcn.00405e50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4675d6
mov dword [ebp - 0x34], 1
jmp 0x4675dd
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x30]
and eax, 2
je 0x4675f7
and dword [ebp - 0x30], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.00405f40
mov ecx, dword [ebp - 0x30]
and ecx, 1
je 0x46760b
and dword [ebp - 0x30], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00405f40
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x467617
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x4873c0
call fcn.00403620
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00403480
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp + 8]
push eax
call fcn.00403480
call fcn.00465a90
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00405f40
lea ecx, [ebp + 0xc]
call fcn.00405f40
mov esp, ebp
pop ebp
ret
Function at 0x468cd0
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.00403e00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x468d1f
push ecx
mov eax, esp
mov dword [ebp - 8], esp
lea ecx, [ebp + 8]
push ecx
push 0x484908
push eax
call fcn.00401f10
add esp, 0xc
mov ecx, 0x4a0408
call fcn.0046e4a0
lea ecx, [ebp + 8]
call fcn.00405f40
jmp 0x468e5a
push 0
push 0x484938
lea ecx, [ebp + 8]
call fcn.00401de0
cmp eax, 0xffffffff
je 0x468d40
lea ecx, [ebp + 8]
call fcn.004033f0
cmp eax, 4
jge 0x468d6f
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x48493c
push edx
call fcn.00401f10
add esp, 0xc
mov ecx, 0x4a0408
call fcn.0046e4a0
lea ecx, [ebp + 8]
call fcn.00405f40
jmp 0x468e5a
mov byte [ebp - 1], 0
or dword [ebp - 0x2c], 1
push 0x484970
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x484974
call fcn.00403620
lea ecx, [ebp - 0x18]
push ecx
call fcn.0045c9d0
add esp, 8
push eax
call fcn.00405e50
add esp, 8
movzx edx, al
test edx, edx
je 0x468de6
or dword [ebp - 0x2c], 2
push 0x484998
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x48499c
call fcn.00403620
lea eax, [ebp - 0x20]
push eax
call fcn.0045c9d0
add esp, 8
push eax
call fcn.00405e50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x468de6
mov dword [ebp - 0x30], 1
jmp 0x468ded
mov dword [ebp - 0x30], 0
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x2c]
and eax, 2
je 0x468e07
and dword [ebp - 0x2c], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.00405f40
mov ecx, dword [ebp - 0x2c]
and ecx, 1
je 0x468e1b
and dword [ebp - 0x2c], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00405f40
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x468e27
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x4849c4
call fcn.00403620
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 8]
push edx
call fcn.00403480
call fcn.00466cc0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00405f40
mov esp, ebp
pop ebp
ret
Function at 0x469450
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47abf1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x49b7c0]
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 0x468e60
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.00402080
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a064c], eax
lea ecx, [ebp - 0x14]
call fcn.004017f0
mov dword [ebp - 4], 0
mov eax, dword [0x4a064c]
push eax
push str.QiyiShellParser::ExecUninstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401870
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00403480
mov dword [ebp - 0x24], eax
mov ecx, 0x4a0408
call fcn.0046e4a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x469520
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.00403620
mov dword [ebp - 0x14], eax
mov ecx, 0x4a0408
call fcn.0046e4a0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
push ecx
push 0x468e60
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.00402080
mov esp, ebp
pop ebp
ret
Function at 0x469580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ac14
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49b7c0]
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.004017f0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a0644]
push eax
push str.QiyiShellParser::ExecInstall________________________________Used_Time:__d_MiliSeconds
lea eax, [ebp - 0x14]
push eax
call fcn.00401870
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00403480
mov dword [ebp - 0x28], eax
mov ecx, 0x4a0408
call fcn.0046e4a0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
push ecx
push 0x468e60
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.00402080
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a0648], eax
mov eax, dword [0x4a0648]
push eax
push str.QiyiShellParser::ExecInstallOK________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401870
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00403480
mov dword [ebp - 0x2c], eax
mov ecx, 0x4a0408
call fcn.0046e4a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x469690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ac37
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x49b7c0]
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 0x468e60
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.00402080
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a0644], eax
lea ecx, [ebp - 0x14]
call fcn.004017f0
mov dword [ebp - 4], 0
mov eax, dword [0x4a0644]
push eax
push str.QiyiShellParser::ExecInstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401870
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00403480
mov dword [ebp - 0x24], eax
mov ecx, 0x4a0408
call fcn.0046e4a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x469760
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.00403620
mov dword [ebp - 0x14], eax
mov ecx, 0x4a0408
call fcn.0046e4a0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
push ecx
push 0x468e60
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.00402080
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4697d0
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 0x487cc8
call fcn.00403620
mov dword [ebp - 0x14], eax
mov ecx, 0x4a0408
call fcn.0046e4a0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
push 0x468e60
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.00402080
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x46dbc0
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, 0x270
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x264], 0xffffffff
je 0x46dc22
mov ecx, dword [ebp - 0x1c]
add ecx, 0x260
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x260]
mov edx, dword [eax + 0x48]
call edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x260
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x260]
mov eax, dword [edx + 0x4c]
call eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10c
call fcn.00405460
jmp 0x46dc44
push 0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
call fcn.00405f00
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10c
call fcn.004053c0
push eax
lea ecx, [ebp - 8]
call fcn.00408cf0
movzx ecx, al
test ecx, ecx
je 0x46dc95
push 0x3e8
lea ecx, [ebp - 8]
call fcn.00405ee0
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46dc93
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00405ee0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x46dc36
mov ecx, dword [ebp - 0x1c]
call fcn.0046da80
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.0042680c
mov esp, ebp
pop ebp
ret
Function at 0x46dcc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.004068c0
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 0x46dcf4
xor eax, eax
jmp 0x46dd9a
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 0x46dd20
xor eax, eax
jmp 0x46dd9a
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.0043ccc0
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.00405620
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 0x46dda0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0043ed20
mov eax, dword [0x49b7c0]
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.0043be90
add esp, 0xc
push 0x48987c
mov ecx, dword [ebp - 0x101c]
add ecx, 0xa8
push ecx
lea edx, [ebp - 0x1018]
push edx
call fcn.00401e60
add esp, 0xc
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x1020]
call fcn.00403e00
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [ebp - 0x1018]
call fcn.00405f40
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.0043c05e
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x46de7e
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 0x46de44
mov eax, dword [ebp - 0x1014]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bdb2
mov esp, ebp
pop ebp
ret
Function at 0x46dea0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4797a9
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x49b7c0]
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.004017f0
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.0043be90
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 0x46dfbd
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46dfbd
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x250]
jne 0x46df99
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x258], ecx
jmp 0x46dfb0
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46df7d
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x258], 0
jbe 0x46e03e
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x46e03e
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46e03e
mov ecx, dword [ebp - 0x23c]
cmp ecx, dword [ebp - 0x258]
jne 0x46e01a
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x24c]
call fcn.00403a20
jmp 0x46e031
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46dff8
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.00403480
mov ecx, dword [ebp - 0x25c]
or ecx, 1
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.00405f40
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.0043bdb2
mov esp, ebp
pop ebp
ret 4