joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4187f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481ed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
xor esi, esi
call sub.MFC42u.DLL_CString::CString_4
push str.AutoRun
lea eax, [esp + 8]
push 0x4a01d8
push eax
mov dword [esp + 0x34], esi
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x10]
call fcn.0042f3b0
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x20019
mov byte [esp + 0x30], 1
call fcn.0042f450
push eax
lea ecx, [esp + 0x18]
call fcn.0042f460
push eax
call fcn.0041f4e0
add esp, 0x10
cmp al, 1
jne 0x41889f
mov eax, dword [esp + 4]
lea ecx, [esp + 4]
mov eax, dword [eax - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.0041f6d0
add esp, 8
cmp al, 1
jne 0x418894
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0042f420
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x418c70
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 0x418cb7
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, 0x104
sub edx, eax
push edx
push str.GroupPolicyMachineScripts_scripts.ini
jmp 0x418cca
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.0041fcf0
add esp, 4
cmp al, 1
mov eax, 1
je 0x418cf0
mov eax, esi
pop esi
add esp, 0x208
ret 4
Function at 0x41d280
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 0x41d2eb
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41d2e0
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 0x41d2e0
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 0x41e4b0
Capabilities:
Create thread

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

Function at 0x41fd50
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x482ea8
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 0x41fd97
push 0x64
call ebp
inc edi
cmp edi, 0x10
jl 0x41fd81
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 1
cmp eax, ebx
jne 0x41fdbc
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 0x41fdf8
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 0x41fe74
push 0
push 0x4000000
push 3
push 0
push 3
push 0x10000
push str..xuetrkillfile
call edi
cmp eax, 0xffffffff
je 0x41fe69
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 0x422330
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 0x422405
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 0x4a0700
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 0x4223be
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 0x4223a3
lea edx, [esp + 0x10]
push ebp
push edx
push 0x4bb878
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 0x42239b
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 0x422410
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 0x422527
mov eax, dword [esp + 0x228]
push 0x4bb88c
test eax, eax
jne 0x422467
push 0xb2
jmp 0x42246c
push 0xa7
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x422527
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x422527
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x422527
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x422527
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 0x422527
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 0x42251c
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 0x422540
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 0x422593
push 0x64
call edi
inc esi
cmp esi, 0x10
jb 0x422579
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x4225b0
push 0x64
call edi
inc esi
cmp esi, 0x10
jb 0x42259b
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x422640
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x482eeb
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.004225c0
lea eax, [esp + 0x10]
push 0x104
push eax
push ebx
mov word [0x516760], 0x58
mov word [0x516762], 0x75
mov word [0x516764], 0x65
mov word [0x516766], 0x54
mov word [0x516768], 0x72
mov word [0x51676a], 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 0x42271c
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 0x4226f1
mov word [eax], bx
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, ebx
jbe 0x42271c
cmp eax, 0x20
jae 0x42271c
push 0x20
push esi
push 0x516760
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov word [0x51679e], bx
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
push 0x516760
push str.._s
push 0x5166e0
xor esi, esi
call ebp
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push 0x5166e0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x422761
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x422845
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 0x4227c4
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 0x516760
push eax
call fcn.00422410
add esp, 0xc
cmp al, 1
jne 0x42282a
cmp esi, 2
lea edx, [esp + 0x14]
setae cl
push ecx
push 1
push 0x516760
push edx
call fcn.00422000
add esp, 0x10
cmp al, 1
jne 0x422813
push 0x516760
push str.._s
push 0x5166e0
call ebp
add esp, 0xc
mov bl, 1
lea eax, [esp + 0x14]
push 0x516760
push eax
call fcn.00422540
add esp, 8
cmp bl, 1
je 0x422844
inc esi
mov edi, esi
and edi, 1
jne 0x42283f
push 0x516760
call fcn.00422330
add esp, 4
cmp esi, 0x20
jb 0x4227c7
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 0x422a60
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 0x422b10
lea eax, [esp + 0xc]
push ebx
push eax
push esi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x422afb
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 0x422ae9
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 0x422afb
lea eax, [esp + 0x34]
push str.System
push eax
call ebx
add esp, 8
test eax, eax
jne 0x422ab2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
mov dword [0x5167b0], 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 0x422bf0
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 0x422e05
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 0x422deb
mov eax, dword [esp + 0x28]
mov esi, 1
cmp eax, esi
jne 0x422dcd
lea edx, [esp + 0x860]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x422dcd
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 [0x5167b8]
add esp, 0x18
mov edi, eax
cmp esi, ecx
mov al, 1
je 0x422d5b
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 0x422d50
mov esi, dword [esi]
jmp 0x422d53
mov esi, dword [esi + 8]
cmp esi, dword [0x5167b8]
jne 0x422d2c
cmp byte [ebp + 8], bl
je 0x422d71
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push edi
push esi
push ecx
jmp 0x422dc6
cmp al, bl
mov dword [esp + 0x24], edi
je 0x422d9a
mov edx, dword [ebp + 4]
cmp edi, dword [edx]
jne 0x422d91
lea eax, [esp + 0x244]
lea ecx, [esp + 0x34]
push eax
push edi
push esi
push ecx
jmp 0x422dc6
lea ecx, [esp + 0x24]
call fcn.004244a0
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 0x422dcd
lea edx, [esp + 0x244]
lea eax, [esp + 0x30]
push edx
push edi
push esi
push eax
mov ecx, ebp
call fcn.00424150
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x104
inc eax
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x10], eax
jmp 0x422c40
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 0x429cb0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
push 0x4bd06c
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 0x429d1a
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.00429ad0
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
ret 0x10

Function at 0x42b200
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x483a57
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], 0x48cf10
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 0x42b278
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 0x42b2a4
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.0042f420
push 2
lea eax, [esi + 0x110]
push 0x14
push eax
mov byte [esp + 0x24], 2
call fcn.0047ff32
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 1
call fcn.0047fb28
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.0040b9c0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x48acdc
call fcn.0047f8e8
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42bb00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483ac8
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.0042f370
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.0040c170
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.0042b320
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0042f460
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 0x42bb9d
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 0x42bbb5
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.0040c180
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042f420
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10

Function at 0x42d370
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x483d1b
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], 0x48d0f0
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 0x42d3e8
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 0x42d414
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.0042f420
push 2
lea eax, [esi + 0xd0]
push 0x14
push eax
mov byte [esp + 0x24], 1
call fcn.0047ff32
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.0040b9c0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x48acdc
call fcn.0047f8e8
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42d570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483d38
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.0042f370
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.0040c170
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.0042b320
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0042f460
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 0x42d60d
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 0x42d625
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.0040c180
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042f420
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10