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

Disassembly:
sub esp, 0x208
push esi
lea eax, [esp + 4]
push 0x104
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [esp + 0x210]
lea ecx, [esp + 4]
cmp eax, 1
mov word [esp + 0x20a], si
push ecx
jne 0x418367
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, 0x104
sub edx, eax
push edx
push str.GroupPolicyMachineScripts_scripts.ini
jmp 0x41837a
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, 0x104
sub edx, eax
push edx
push str.GroupPolicyUserScripts_scripts.ini
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
call fcn.0041f040
add esp, 4
cmp al, 1
mov eax, 1
je 0x4183a0
mov eax, esi
pop esi
add esp, 0x208
ret 4
Function at 0x41c5d0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41c63b
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41c630
mov eax, dword [esp + 4]
push esi
push esi
lea edx, [esp + 0x10]
push esi
push edx
push esi
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x41c630
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x41d800
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0
push 0
push 0x41d7f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x41d828
mov dword [esp + 4], 0xffffffff
mov ecx, dword [esp + 4]
push ecx
push 0xf
call fcn.0041e340
add esp, 8
test esi, esi
je 0x41d842
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x41f0a0
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x47efa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [esp + 0x20]
push edi
mov byte [esp + 0x13], 0
xor edi, edi
push 0x80
push esi
call ebx
test eax, eax
jne 0x41f0e7
push 0x64
call ebp
inc edi
cmp edi, 0x10
jl 0x41f0d1
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 1
cmp eax, ebx
jne 0x41f10c
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x4000000
push 3
push 0
push 3
push 0x10000
push esi
call edi
cmp eax, 0xffffffff
je 0x41f148
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_4
push esi
lea eax, [esp + 0x28]
push str.___s
push eax
mov dword [esp + 0x28], 0
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
mov esi, dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
push eax
push str.xuetrkillfile
push ebx
call esi
test eax, eax
je 0x41f1c4
push 0
push 0x4000000
push 3
push 0
push 3
push 0x10000
push str..xuetrkillfile
call edi
cmp eax, 0xffffffff
je 0x41f1b9
push eax
mov byte [esp + 0x17], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.xuetrkillfile
push 2
call esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x421360
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x410
lea eax, [esp]
push ebx
push 0x208
push eax
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 4]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x421435
push ebp
push esi
push edi
mov word [eax + 2], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
push 0x49b700
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_rand]
mov ebp, dword [esp + 0x424]
and eax, 3
add ebx, eax
test ebx, ebx
jbe 0x4213ee
mov esi, ebp
mov edi, ebx
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x1a
add esi, 2
idiv ecx
add edx, 0x61
dec edi
mov word [esi - 2], dx
jne 0x4213d3
lea edx, [esp + 0x10]
push ebp
push edx
push 0x4b61ac
lea eax, [esp + 0x224]
push 0x208
push eax
mov word [ebp + ebx*2], 0
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4213cb
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x410
ret
mov al, bl
pop ebx
add esp, 0x410
ret

Function at 0x421440
Capabilities:
Delete file
Extract resource via kernel32 functions
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x20c
lea edx, [esp + 4]
push ebx
push ebp
push esi
push edi
push eax
push ecx
push str._s_s.sys
push 0x208
push edx
xor bl, bl
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x421557
mov eax, dword [esp + 0x228]
push 0x4b61c0
test eax, eax
jne 0x421497
push 0xb2
jmp 0x42149c
push 0xa7
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x421557
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x421557
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x421557
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x421557
push 0
push 0x80
push 1
push 0
push 0
lea eax, [esp + 0x28]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x421557
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or al, 6
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebp
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x42154c
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20c
ret
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x421570
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x208
lea edx, [esp]
push ebx
push esi
push edi
push eax
push ecx
push str._s_s.sys
push 0x208
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x14
xor esi, esi
lea eax, [esp + 0xc]
push 0x80
push eax
call ebx
test eax, eax
jne 0x4215c3
push 0x64
call edi
inc esi
cmp esi, 0x10
jb 0x4215a9
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x4215e0
push 0x64
call edi
inc esi
cmp esi, 0x10
jb 0x4215cb
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x421670
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x47efeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
push esi
lea ecx, [esp + 0xc]
xor ebx, ebx
call sub.MFC42u.DLL_CString::CString_4
mov dword [esp + 0x220], ebx
call fcn.004215f0
lea eax, [esp + 0x10]
push 0x104
push eax
push ebx
mov word [0x50cbe0], 0x58
mov word [0x50cbe2], 0x75
mov word [0x50cbe4], 0x65
mov word [0x50cbe6], 0x54
mov word [0x50cbe8], 0x72
mov word [0x50cbea], bx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
mov word [esp + 0x21e], bx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42174c
mov word [esi], bx
add esi, 2
push 0x2e
push esi
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
cmp eax, ebx
je 0x421721
mov word [eax], bx
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, ebx
jbe 0x42174c
cmp eax, 0x20
jae 0x42174c
push 0x20
push esi
push 0x50cbe0
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov word [0x50cc1e], bx
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
push 0x50cbe0
push str.._s
push 0x50cb60
xor esi, esi
call ebp
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push 0x50cb60
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x421791
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x421875
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
and edx, 0xffff
push edx
push str._c:_
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4217f4
lea edx, [esp + 0x10]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, 0x104
lea edx, [esp + 0x14]
sub ecx, eax
push ecx
push str.drivers
push edx
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0x10
push edi
xor edi, edi
push edi
lea eax, [esp + 0x18]
push 0x50cbe0
push eax
call fcn.00421440
add esp, 0xc
cmp al, 1
jne 0x42185a
cmp esi, 2
lea edx, [esp + 0x14]
setae cl
push ecx
push 1
push 0x50cbe0
push edx
call fcn.00421030
add esp, 0x10
cmp al, 1
jne 0x421843
push 0x50cbe0
push str.._s
push 0x50cb60
call ebp
add esp, 0xc
mov bl, 1
lea eax, [esp + 0x14]
push 0x50cbe0
push eax
call fcn.00421570
add esp, 8
cmp bl, 1
je 0x421874
inc esi
mov edi, esi
and edi, 1
jne 0x42186f
push 0x50cbe0
call fcn.00421360
add esp, 4
cmp esi, 0x20
jb 0x4217f7
pop edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x220], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x218]
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x421a90
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
push esi
push edi
xor edi, edi
push edi
push 2
mov dword [esp + 0x10], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x421b40
lea eax, [esp + 0xc]
push ebx
push eax
push esi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x421b2b
mov ebx, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x34]
push str.System
push ecx
call ebx
add esp, 8
test eax, eax
je 0x421b19
lea edx, [esp + 0x10]
mov ecx, 0x8b
xor eax, eax
lea edi, [esp + 0x10]
push edx
push esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x421b2b
lea eax, [esp + 0x34]
push str.System
push eax
call ebx
add esp, 8
test eax, eax
jne 0x421ae2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
mov dword [0x50cc30], ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop ebx
pop edi
pop esi
add esp, 0x230
ret
mov eax, edi
pop edi
pop esi
add esp, 0x230
ret
Function at 0x421c20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc60
push ebx
lea eax, [esp + 0xc]
push esi
xor ebx, ebx
push eax
push 0x20019
push ebx
xor esi, esi
push str.SYSTEMCurrentControlSetControlhivelist
push 0x80000002
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421e35
push ebp
mov ebp, dword [esp + 0xc70]
push edi
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x860]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ebx
lea edx, [esp + 0xa78]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x421e1b
mov eax, dword [esp + 0x28]
mov esi, 1
cmp eax, esi
jne 0x421dfd
lea edx, [esp + 0x860]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x421dfd
lea eax, [esp + 0xa68]
push 0x104
lea ecx, [esp + 0x65c]
mov dword [esp + 0x24], esi
mov esi, dword [sym.imp.MSVCRT.dll_wcsncpy]
push eax
push ecx
call esi
lea edx, [esp + 0x86c]
push 0x104
lea eax, [esp + 0x48]
push edx
push eax
mov word [esp + 0x876], bx
mov dword [esp + 0x258], ebx
call esi
mov eax, dword [ebp + 4]
mov ecx, 0x82
lea esi, [esp + 0x670]
lea edi, [esp + 0x25c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x83
lea esi, [esp + 0x50]
lea edi, [esp + 0x464]
mov word [esp + 0x256], bx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax + 4]
mov ecx, dword [0x50cc38]
add esp, 0x18
mov edi, eax
cmp esi, ecx
mov al, 1
je 0x421d8b
lea ecx, [esi + 0xc]
lea edx, [esp + 0x244]
push ecx
push edx
mov edi, esi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
setg al
cmp al, bl
je 0x421d80
mov esi, dword [esi]
jmp 0x421d83
mov esi, dword [esi + 8]
cmp esi, dword [0x50cc38]
jne 0x421d5c
cmp byte [ebp + 8], bl
je 0x421da1
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push edi
push esi
push ecx
jmp 0x421df6
cmp al, bl
mov dword [esp + 0x24], edi
je 0x421dca
mov edx, dword [ebp + 4]
cmp edi, dword [edx]
jne 0x421dc1
lea eax, [esp + 0x244]
lea ecx, [esp + 0x34]
push eax
push edi
push esi
push ecx
jmp 0x421df6
lea ecx, [esp + 0x24]
call fcn.004234d0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x244]
push ecx
lea eax, [edx + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x421dfd
lea edx, [esp + 0x244]
lea eax, [esp + 0x30]
push edx
push edi
push esi
push eax
mov ecx, ebp
call fcn.00423180
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x104
inc eax
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x10], eax
jmp 0x421c70
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc60
ret
mov eax, esi
pop esi
pop ebx
add esp, 0xc60
ret
Function at 0x428d20
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
push 0x4b79a4
mov eax, dword [eax]
mov edi, ecx
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x428d8a
push esi
push 1
lea ecx, [esp + 0x1c]
push 2
push ecx
mov dword [esp + 0x24], 0xfeff
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
push str.Windows_Registry_Editor_Version_5.00_r_n
push esi
call dword [sym.imp.MSVCRT.dll_fwprintf]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 8
push esi
push edx
push eax
push ecx
mov ecx, edi
call fcn.00428b40
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
ret 0x10

Function at 0x42a260
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x47fb57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x488ef8
lea edi, [esi + 0x15c]
mov dword [esp + 0x14], 4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x158]
test eax, eax
je 0x42a2d8
push 0
mov eax, dword [esi + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [esi + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x158], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x42a304
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esi + 0x13c], 0
lea ecx, [esi + 0x140]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x138]
mov byte [esp + 0x14], 3
call sub.MFC42u.DLL_CString::CString
push fcn.0042e480
push 2
lea eax, [esi + 0x110]
push 0x14
push eax
mov byte [esp + 0x24], 2
call fcn.0047c14c
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 1
call fcn.0047bd4c
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.0040b880
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x486cdc
call fcn.0047bb18
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42ab60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47fbc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0042e3d0
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.0040c030
mov eax, dword [esi + 0x80]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x13c]
push ecx
push edx
push eax
call fcn.0042a380
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0042e4c0
push 0
push 0
push 0
push 0
push eax
push ebx
push 1
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42abfd
push eax
push 1
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42ac15
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.0040c040
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042e480
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10

Function at 0x42c3d0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x47fe1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4890d8
lea edi, [esi + 0x104]
mov dword [esp + 0x14], 2
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x100]
test eax, eax
je 0x42c448
push 0
mov eax, dword [esi + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [esi + 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x100], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x42c474
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esi + 0xfc], 0
lea ecx, [esi + 0xf8]
call sub.MFC42u.DLL_CString::CString
push fcn.0042e480
push 2
lea eax, [esi + 0xd0]
push 0x14
push eax
mov byte [esp + 0x24], 1
call fcn.0047c14c
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.0040b880
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x486cdc
call fcn.0047bb18
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42c5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47fe38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0042e3d0
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.0040c030
mov eax, dword [esi + 0x80]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
mov ebx, eax
mov eax, dword [esi + 0xfc]
push ecx
push edx
push eax
call fcn.0042a380
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0042e4c0
push 0
push 0
push 0
push 0
push eax
push ebx
push 1
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42c66d
push eax
push 1
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42c685
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.0040c040
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042e480
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42c80c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x47fe7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebp
push esi
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 8], ebp
call fcn.0042e3d0
mov edx, dword [esp + 0x428]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esi + 0xfc]
push ecx
push edx
push eax
mov dword [esp + 0x430], ebp
call fcn.0042a510
mov esi, 1
add esp, 0x10
cmp eax, esi
jne 0x42c93d
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebp
lea ecx, [esp + 0x28]
call fcn.0042e4c0
mov edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c93d
push ebx
mov ebx, dword [esp + 0x43c]
cmp ebx, 0x3e8
push edi
jb 0x42c8a8
lea esi, [ebx + 1]
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, eax
mov dword [esp + 0x18], esi
add esp, 4
mov edi, ebp
mov esi, 1
jmp 0x42c8b4
lea edi, [esp + 0x38]
mov dword [esp + 0x14], 0x3e8
test edi, edi
je 0x42c922
mov ecx, dword [esp + 0x434]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x24]
mov eax, dword [ecx]
push edi
push edx
push 0
mov eax, dword [eax - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c91e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x438]
cmp ecx, eax
jne 0x42c91e
cmp dword [esp + 0x14], ebx
jne 0x42c91e
mov esi, dword [esp + 0x43c]
mov ecx, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42c910
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42c922
mov dword [esp + 0x10], 1
jmp 0x42c922
mov dword [esp + 0x10], esi
pop edi
pop ebx
test ebp, ebp
je 0x42c932
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x420], 0xffffffff
call fcn.0042e480
mov ecx, dword [esp + 0x418]
mov eax, dword [esp + 8]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x41c
ret 0x14

Function at 0x42ce00
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esi + 0x11c], 0
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x42ccc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x100], eax
mov eax, dword [esi + 0x100]
test eax, eax
jne 0x42ce4e
mov ecx, dword [0x50cb5c]
push 0
push 0
mov edx, dword [ecx*4 + 0x4b80a0]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::MessageBoxW
pop esi
pop ecx
ret