joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f710
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 0x42f7e5
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 0x4c67d0
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 0x42f79e
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 0x42f783
lea edx, [esp + 0x10]
push ebp
push edx
push 0x4e3ea8
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 0x42f77b
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 0x42f7f0
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 0x42f907
mov eax, dword [esp + 0x228]
push 0x4e3ebc
test eax, eax
jne 0x42f847
push 0xb2
jmp 0x42f84c
push 0xa7
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x42f907
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42f907
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42f907
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x42f907
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 0x42f907
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 0x42f8fc
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 0x42f920
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 0x42f973
push 0x64
call edi
inc esi
cmp esi, 0x10
jb 0x42f959
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x42f990
push 0x64
call edi
inc esi
cmp esi, 0x10
jb 0x42f97b
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x42fa20
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4a541b
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_5
mov dword [esp + 0x220], ebx
call fcn.0042f9a0
lea eax, [esp + 0x10]
push 0x104
push eax
push ebx
mov word [0x540248], 0x58
mov word [0x54024a], 0x75
mov word [0x54024c], 0x65
mov word [0x54024e], 0x54
mov word [0x540250], 0x72
mov word [0x540252], 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 0x42fafc
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 0x42fad1
mov word [eax], bx
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, ebx
jbe 0x42fafc
cmp eax, 0x20
jae 0x42fafc
push 0x20
push esi
push 0x540248
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov word [0x540286], bx
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
push 0x540248
push str.._s
push 0x5401c8
xor esi, esi
call ebp
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push 0x5401c8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42fb41
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x42fc25
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 0x42fba4
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 0x540248
push eax
call fcn.0042f7f0
add esp, 0xc
cmp al, 1
jne 0x42fc0a
cmp esi, 2
lea edx, [esp + 0x14]
setae cl
push ecx
push 1
push 0x540248
push edx
call fcn.0042f3e0
add esp, 0x10
cmp al, 1
jne 0x42fbf3
push 0x540248
push str.._s
push 0x5401c8
call ebp
add esp, 0xc
mov bl, 1
lea eax, [esp + 0x14]
push 0x540248
push eax
call fcn.0042f920
add esp, 8
cmp bl, 1
je 0x42fc24
inc esi
mov edi, esi
and edi, 1
jne 0x42fc1f
push 0x540248
call fcn.0042f710
add esp, 4
cmp esi, 0x20
jb 0x42fba7
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 0x42fe40
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 0x42fef0
lea eax, [esp + 0xc]
push ebx
push eax
push esi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42fedb
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 0x42fec9
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 0x42fedb
lea eax, [esp + 0x34]
push str.System
push eax
call ebx
add esp, 8
test eax, eax
jne 0x42fe92
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
mov dword [0x540298], 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 0x42ffd0
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 0x4301e5
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 0x4301cb
mov eax, dword [esp + 0x28]
mov esi, 1
cmp eax, esi
jne 0x4301ad
lea edx, [esp + 0x860]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x4301ad
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 [0x5402a0]
add esp, 0x18
mov edi, eax
cmp esi, ecx
mov al, 1
je 0x43013b
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 0x430130
mov esi, dword [esi]
jmp 0x430133
mov esi, dword [esi + 8]
cmp esi, dword [0x5402a0]
jne 0x43010c
cmp byte [ebp + 8], bl
je 0x430151
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push edi
push esi
push ecx
jmp 0x4301a6
cmp al, bl
mov dword [esp + 0x24], edi
je 0x43017a
mov edx, dword [ebp + 4]
cmp edi, dword [edx]
jne 0x430171
lea eax, [esp + 0x244]
lea ecx, [esp + 0x34]
push eax
push edi
push esi
push ecx
jmp 0x4301a6
lea ecx, [esp + 0x24]
call fcn.00431880
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 0x4301ad
lea edx, [esp + 0x244]
lea eax, [esp + 0x30]
push edx
push edi
push esi
push eax
mov ecx, ebp
call fcn.00431530
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x104
inc eax
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x10], eax
jmp 0x430020
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 0x437070
Capabilities:
Write file on windows

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

Function at 0x4385c0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4a5f87
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], 0x4b0580
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 0x438638
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 0x438664
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.0043c7e0
push 2
lea eax, [esi + 0x110]
push 0x14
push eax
mov byte [esp + 0x24], 2
call fcn.004a16ac
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 1
call fcn.004a117c
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.004122f0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x4add30
call fcn.004a1038
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x438ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5ff8
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.0043c730
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.00412aa0
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.004386e0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0043c820
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 0x438f5d
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 0x438f75
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.00412ab0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043c7e0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10

Function at 0x43a730
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4a624b
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], 0x4b0768
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 0x43a7a8
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 0x43a7d4
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.0043c7e0
push 2
lea eax, [esi + 0xd0]
push 0x14
push eax
mov byte [esp + 0x24], 1
call fcn.004a16ac
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call fcn.004122f0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x4add30
call fcn.004a1038
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43a930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a6268
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.0043c730
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.00412aa0
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.004386e0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0043c820
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 0x43a9cd
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 0x43a9e5
push eax
push 2
push ebx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, edi
call fcn.00412ab0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043c7e0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x43ab6c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a62ab
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.0043c730
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.00438870
mov esi, 1
add esp, 0x10
cmp eax, esi
jne 0x43ac9d
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebp
lea ecx, [esp + 0x28]
call fcn.0043c820
mov edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ac9d
push ebx
mov ebx, dword [esp + 0x43c]
cmp ebx, 0x3e8
push edi
jb 0x43ac08
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 0x43ac14
lea edi, [esp + 0x38]
mov dword [esp + 0x14], 0x3e8
test edi, edi
je 0x43ac82
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 0x43ac7e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x438]
cmp ecx, eax
jne 0x43ac7e
cmp dword [esp + 0x14], ebx
jne 0x43ac7e
mov esi, dword [esp + 0x43c]
mov ecx, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x43ac70
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43ac82
mov dword [esp + 0x10], 1
jmp 0x43ac82
mov dword [esp + 0x10], esi
pop edi
pop ebx
test ebp, ebp
je 0x43ac92
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.0043c7e0
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 0x43b160
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 0x43b020
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 0x43b1ae
mov ecx, dword [0x5401c4]
push 0
push 0
mov edx, dword [ecx*4 + 0x4e5d90]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::MessageBoxW
pop esi
pop ecx
ret
Function at 0x43dfc0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4a670b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [esp + 0x228]
push ebx
push esi
push edi
mov esi, ecx
push eax
push 0xb8
mov dword [esp + 0x1c], esi
call sub.MFC42u.DLL_CDialog::CDialog
lea ecx, [esi + 0x60]
mov dword [esp + 0x228], 0
call fcn.00402980
lea ebx, [esi + 0xe0]
mov byte [esp + 0x228], 1
mov ecx, ebx
call sub.MFC42u.DLL_CString::CString_5
lea edi, [esi + 0xe4]
mov byte [esp + 0x228], 2
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x230]
mov dword [esi], 0x4b0e88
mov ecx, dword [0x4e61ac]
mov dx, word [0x4e61b0]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
push ecx
push 0x4c61d8
push ebx
mov byte [esp + 0x234], 3
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], 0
call sub.MFC42u.DLL_CString::Format
mov edx, dword [ebx]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x43e10a
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CString::GetBuffer
push 0x4c7fd0
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43e10a
mov eax, dword [esp + 0x230]
push 0x104
mov ecx, dword [eax]
lea eax, [esp + 0x1c]
push eax
mov dx, word [ecx]
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x18], dx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x43e10a
lea edx, [esp + 0x18]
mov word [esp + 0x21e], 0
push edx
push 0x4c61d8
push edi
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov ecx, edi
push 0x4c6204
call sub.MFC42u.DLL_CString::TrimRight
add ebx, 2
mov ecx, edi
push ebx
call fcn.004a1128
push 0x4c6204
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimRight
mov ecx, dword [esp + 0x220]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret 8
Function at 0x43fc60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x5401c4]
push ebx
push ebp
push esi
mov edx, dword [eax*4 + 0x4e63d8]
push edi
lea esi, [ecx + 0x60]
lea eax, [esp + 0x10]
mov edi, 1
mov ebx, 2
push eax
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], 0x24
mov dword [esp + 0x3c], 0x25
mov dword [esp + 0x40], 0x26
mov dword [esp + 0x44], 0x23
mov dword [esp + 0x48], 0x1a
mov dword [esp + 0x4c], 0x18
mov dword [esp + 0x50], 7
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x19
mov dword [esp + 0x5c], 0x10
mov dword [esp + 0x60], 0x1c
mov dword [esp + 0x64], 0x2b
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
call sub.MFC42u.DLL_CComboBoxEx::InsertItem
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edi
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0x540014
call sub.MFC42u.DLL_CComboBoxEx::InsertItem
lea edi, [esp + 0x34]
mov ebp, 0xc
mov edx, dword [edi]
push 0
lea eax, [esp + 0x68]
push edx
push eax
push 0
mov word [esp + 0x74], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x64]
mov word [esp + 0x26c], 0
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x43fd6a
lea eax, [esp + 0x10]
lea edx, [esp + 0x64]
mov dword [esp + 0x14], ebx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
inc ebx
call sub.MFC42u.DLL_CComboBoxEx::InsertItem
add edi, 4
dec ebp
jne 0x43fd1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret