joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401307
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
jmp 0x4551d0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5293a0
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov esi, ecx
call fcn.004fe0ee
mov ecx, esi
call fcn.00401014
mov eax, dword [esi + 0x64]
lea ebp, [esi + 0x64]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45526b
push 0x55681c
lea ecx, [esp + 0x18]
call fcn.004fdf08
lea ecx, [esi + 0x1890]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_operator_2
push eax
mov ecx, ebp
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov dword [esi + 0x188c], eax
mov dword [esi + 0x1894], eax
mov eax, dword [esi + 0x88]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x146
push eax
call edi
cmp eax, 5
jne 0x45529a
mov ecx, dword [esi + 0x88]
push 0
push 0
push 0x144
push ecx
call edi
mov eax, dword [ebp]
mov edx, dword [esi + 0x88]
push eax
push 0xffffffffffffffff
push 0x14c
push edx
call edi
test eax, eax
jl 0x4552c3
push 0
push eax
mov eax, dword [esi + 0x88]
push 0x14e
push eax
jmp 0x4552e6
mov eax, dword [ebp]
mov ecx, dword [esi + 0x88]
push eax
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x88]
push 0
push eax
push 0x14e
push edx
call edi
push ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], 2
cmp dword [eax - 8], 1
jle 0x455354
push eax
lea ecx, [esp + 0x1c]
call fcn.00402e9b
mov eax, dword [esp + 0x24]
mov byte [esp + 0x30], 3
test eax, eax
jne 0x455346
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esi + 0x42c]
call fcn.004024ff
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
call fcn.0040251d
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1888], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.004016a9
push esi
push 0x2f56
lea ecx, [esi + 0x42c]
call sub.MFC42.DLL_CWnd::SubclassDlgItem
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x401442
Capabilities:
Set registry value

Disassembly:
jmp 0x407390
sub esp, 0xc
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0
push eax
push 0
mov ebp, ecx
push 0x20006
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push ecx
push SysReAllocString
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
push 0
push 3
push 0
lea ebx, [ebp + 0xc]
push 1
push SysReAllocString
push ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov eax, dword [ebp + 0x128]
mov edx, eax
shl edx, 8
sub edx, eax
add edx, 0x10
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0x128]
mov dword [esp + 0x14], esi
push esi
push 0
push 0
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x128]
xor eax, eax
test ecx, ecx
lea edx, [esi + 0xc]
mov dword [esp + 0x20], eax
jle 0x4074e1
jmp 0x40743c
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0x128]
jge 0x407453
test eax, eax
jl 0x407453
mov ecx, dword [ebp + 0x124]
mov ebx, dword [ecx + eax*4]
jmp 0x407455
xor ebx, ebx
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ebx
mov dword [edx - 4], ecx
inc ecx
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, 0x104
mov edi, ebx
mov esi, ebx
lea edx, [edx + ecx + 1]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx], ecx
add edx, 4
inc ecx
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
dec ecx
inc eax
mov dword [esp + 0x20], eax
lea edx, [edx + ecx + 1]
mov ecx, dword [ebp + 0x128]
cmp eax, ecx
jl 0x407438
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub edx, esi
push edx
push esi
push 3
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x40144c
Capabilities:
Write file on windows

Disassembly:
jmp 0x4569b0
sub esp, 0x1c
mov eax, dword [str.RIFF]
push ebx
push ebp
push esi
mov esi, ecx
mov edx, dword [str.data]
mov ecx, dword [str.PAL]
mov dword [esp + 0x10], eax
mov ax, word [esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi]
mov word [esp + 0x26], ax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x1c], edx
lea eax, [ecx*4 + 4]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
add eax, 0xc
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
push 0
push edx
lea eax, [esp + 0x1c]
push 0x18
push eax
push edi
mov word [esp + 0x3c], 0x300
mov dword [esp + 0x24], 0
call ebx
mov edx, dword [esi]
lea ecx, [esp + 0x10]
mov ebp, eax
mov eax, dword [esi + 4]
push 0
push ecx
shl edx, 2
push edx
push eax
push edi
call ebx
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
je 0x456a46
test eax, eax
je 0x456a46
xor eax, eax
add esp, 0x1c
ret 4
or eax, 0xffffffff
add esp, 0x1c
ret 4
Function at 0x401cad
Capabilities:
Get common file path

Disassembly:
jmp 0x415890
sub esp, 0x22c
push esi
xor esi, esi
push esi
push 0x10
lea eax, [esp + 0xc]
push 0x415aa0
push eax
mov dword [esp + 0x14], esi
call sub.USER32.dll_DdeInitializeA
cmp eax, esi
jne 0x415a1c
mov ecx, dword [esp + 4]
push ebx
push ebp
push edi
push 0x3ec
push 0x552364
push ecx
call sub.USER32.dll_DdeCreateStringHandleA
mov edx, dword [esp + 0x10]
push 0x3ec
mov ebp, eax
push str.System
push edx
mov dword [esp + 0x24], ebp
call sub.USER32.dll_DdeCreateStringHandleA
mov ebx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
push 0
push ebx
push ebp
push eax
call sub.USER32.dll_DdeConnect
mov edi, eax
test edi, edi
jne 0x415910
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x4158ee
mov ecx, dword [esp + 0x10]
push ecx
call sub.USER32.dll_DdeGetLastError
test edi, edi
mov ebx, eax
je 0x4159f3
lea edx, [esp + 0x134]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x134]
lea ecx, [esp + 0x1c]
push eax
push str._setdir__s__
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push 0
push 0x3e8
push 0x4050
push 0
push 0
push edi
push edx
call ebx
inc eax
push eax
lea eax, [esp + 0x38]
push eax
call sub.USER32.dll_DdeClientTransaction
push eax
call sub.USER32.dll_DdeFreeDataHandle
mov ebp, dword [esp + 0x240]
push ebp
call ebx
add eax, 0x14
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
push str._cmd_line_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call ebp
push 0x551d0c
push esi
call ebp
push 0
push 0x3e8
push 0x4050
push 0
push 0
push edi
push esi
call ebx
inc eax
push eax
push esi
call sub.USER32.dll_DdeClientTransaction
mov ecx, dword [esp + 0x10]
push ecx
call sub.USER32.dll_DdeGetLastError
push esi
mov ebx, eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
call sub.USER32.dll_DdeDisconnect
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebp
push edx
call sub.USER32.dll_DdeFreeStringHandle
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call sub.USER32.dll_DdeFreeStringHandle
mov edx, dword [esp + 0x10]
push edx
call sub.USER32.dll_DdeUninitialize
pop edi
mov eax, ebx
pop ebp
pop ebx
pop esi
add esp, 0x22c
ret
Function at 0x401dd4
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x46cfe0
push 0xffffffffffffffff
push 0x52a558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.004fdecc
mov edx, dword [esi + 0xa4]
xor eax, eax
test edx, edx
setne al
add eax, 0x4e73
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [esp + 0xc]
call fcn.004fdecc
mov edi, dword [esp + 0x24]
xor ecx, ecx
cmp ecx, edi
lea ecx, [esp + 0xc]
sbb edx, edx
mov byte [esp + 0x1c], 1
neg edx
add edx, 0x4e75
push edx
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [esp + 8]
call fcn.004fdecc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
inc edi
push eax
push edi
push ecx
lea edx, [esp + 0x14]
push str._s__d__s
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x1c]
add esp, 0x14
mov ecx, esi
push eax
push 0x2fb5
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x401e38
Capabilities:
Encode data using xor

Disassembly:
jmp 0x42b210
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
mov esi, ecx
jbe 0x42b243
push ebx
mov eax, dword [esi + 4]
xor ebx, ebx
mov bl, byte [edx]
mov ecx, eax
shr ecx, 0x18
xor ecx, ebx
shl eax, 8
mov ecx, dword [ecx*4 + 0x551f64]
xor ecx, eax
inc edx
dec edi
mov dword [esi + 4], ecx
jne 0x42b221
pop ebx
pop edi
pop esi
ret 8
Function at 0x401ff5
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x452400
sub esp, 0x18
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SoftwareACD_SystemsACDSee
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45242d
fld qword [0x534398]
add esp, 0x18
ret
lea ecx, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 7]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.GammaCorrect
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x20], 1
call esi
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.GammaValue
push edx
mov dword [esp + 0x20], 8
call esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 7]
pop esi
test al, al
je 0x4524af
fld qword [esp + 0x10]
add esp, 0x18
ret
fld qword [0x534388]
add esp, 0x18
ret

Function at 0x40204a
Capabilities:
Get common file path

Disassembly:
jmp 0x43d080
push 0xffffffffffffffff
push 0x527e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x478
push esi
push edi
mov esi, ecx
call fcn.00402b71
lea ecx, [esp + 8]
call fcn.00483ba0
xor edi, edi
mov dword [esp + 0x488], edi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20e0]
cmp eax, edi
je 0x43d0d7
jne 0x43d0d2
xor eax, eax
jmp 0x43d0e2
mov eax, dword [eax + 0x20]
jmp 0x43d0e2
cmp esi, edi
jne 0x43d0df
xor eax, eax
jmp 0x43d0e2
mov eax, dword [esi + 0x20]
mov ecx, dword [0x566a04]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], edi
mov ecx, dword [ecx + 8]
cmp ecx, edi
je 0x43d132
mov ecx, dword [ecx]
cmp dword [ecx - 8], edi
jne 0x43d132
lea edx, [esp + 0x70]
push edx
push edi
push edi
push 0x27
push eax
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
jne 0x43d132
lea eax, [esp + 0x70]
mov dword [esp + 0x34], eax
lea ecx, [esp + 8]
call fcn.00483be0
test eax, eax
je 0x43d16b
mov eax, dword [esi + 0x21ec]
push edi
cmp eax, edi
je 0x43d15d
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, 0x566958
push edx
call fcn.00402ae5
jmp 0x43d16b
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.0040132a
cmp dword [esp + 0x44], edi
je 0x43d17e
push 0xffffffffffffffff
push edi
push 0x4e77
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 8]
mov dword [esp + 0x488], 0xffffffff
call fcn.004842f0
mov ecx, dword [esp + 0x480]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x484
ret
Function at 0x40210d
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
jmp 0x4521c0
push 0xffffffffffffffff
push 0x529023
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 0x58]
mov ebx, ebp
mov ecx, ebx
mov dword [esp + 0x14], ebx
call fcn.004fdecc
xor edi, edi
lea ecx, [ebx + 4]
mov dword [esp + 0x64], edi
call fcn.004fdecc
mov eax, 1
mov ebx, 2
mov dword [esp + 0x64], eax
mov dword [esi + 0x30], eax
mov eax, 0x14
mov ecx, ebp
mov dword [esi + 0x50], edi
mov dword [esi + 4], edi
mov dword [esi + 0x34], edi
mov dword [esi], 5
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0x1e
mov dword [esi + 0x44], edi
mov dword [esi + 0x3c], 0xffffff
mov dword [esi + 0x38], edi
mov dword [esi + 0x24], 0x32
mov dword [esi + 0x28], 0x4b
mov dword [esi + 0x48], 0xf
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x40], 0xff0000
mov dword [esi + 0x4c], 0x82
call sub.MFC42.DLL_CString::Empty
lea ebp, [esi + 0x5c]
mov ecx, ebp
call sub.MFC42.DLL_CString::Empty
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], vtable.CFont.0
push 0xd
mov byte [esp + 0x68], bl
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x20]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 0x3c]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CString::operator
mov ebp, dword [esp + 0x20]
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 0x5a
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x48
push ebp
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [esi + 0x60], eax
push ebx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, 0x10
xor eax, eax
mov edi, 0x566918
mov dword [esp + 0x18], vtable.CGdiObject.0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x402518
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x452090
push 0xffffffffffffffff
push 0x528feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x3c]
call fcn.004d01b0
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
push edi
push 0x30
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
sub ecx, eax
xor eax, eax
cmp ecx, 0x320
mov dword [esi + 0x24], edi
setg al
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, 1
mov dword [esi], 2
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], eax
or eax, 0xffffffff
mov dword [esi + 4], 2
mov dword [esi + 0x20], edi
mov dword [esi + 0x10], 0x1e00000
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
call fcn.00401f28
neg eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x1b0], edi
sbb eax, eax
mov dword [esi + 0x1b8], edi
neg eax
inc eax
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x1b4], 0x3ff00000
mov dword [esi + 0x1c0], 0x320
mov dword [esi + 0x1c4], 0x258
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x402577
Capabilities:
Encode data using xor
Get disk information

Disassembly:
jmp 0x42b5d0
push ecx
push 0
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0
push 0x553028
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
mov eax, 0x13371337
je 0x42b5fa
mov eax, dword [esp]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jbe 0x42b624
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
shr edx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x551f64]
xor eax, edx
inc ecx
dec esi
jne 0x42b608
pop ebx
pop esi
pop ecx
ret 8
Function at 0x4027b1
Capabilities:
Set registry value

Disassembly:
jmp 0x46a750
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push esi
push eax
push ecx
push 0
push 0x20006
push 0
push 0x5688a4
push 0
push 0x566a74
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x46a7ab
mov edx, dword [esp + 0x10]
push 0x74
push edx
push 3
push eax
mov eax, dword [esp + 0x14]
push str.AcquireOptions
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret 4
Function at 0x4029b4
Capabilities:
Encode data using xor
Get disk information

Disassembly:
jmp 0x42b650
push ecx
push 0
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0
push 0x553028
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
mov eax, 0x13371337
je 0x42b67a
mov eax, dword [esp]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jbe 0x42b6a4
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
shr edx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x551f64]
xor eax, edx
inc ecx
dec esi
jne 0x42b688
pop ebx
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp edx, eax
pop esi
sete cl
mov eax, ecx
pop ecx
ret 0xc
Function at 0x402b08
Capabilities:
Get common file path
Inspect load icon resource

Disassembly:
jmp 0x45b3c0
push 0xffffffffffffffff
push 0x529af9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004fe0ee
push 0x2f62
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x36b5
push eax
call edi
mov ebx, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x36b6
push eax
call edi
mov ebp, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x36b7
push eax
call edi
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x4e51
push eax
call edi
push ebx
lea ecx, [esi + 0xe0]
mov edi, eax
call fcn.0048c1e0
push ebp
lea ecx, [esi + 0xa0]
call fcn.0048c1e0
mov eax, dword [esp + 0x18]
lea ebp, [esi + 0x60]
push eax
mov ecx, ebp
call fcn.0048c1e0
lea ecx, [esi + 0x120]
test ecx, ecx
je 0x45b484
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x45b484
push edi
call fcn.0048c1e0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edi, dword [eax + 0xac]
mov ecx, dword [edi + 8]
mov dword [edi + 0x18], 0x19
mov edx, dword [ecx]
mov eax, dword [edx - 8]
test eax, eax
je 0x45b58d
mov eax, dword [edi + 4]
xor ebx, ebx
test eax, eax
jle 0x45b574
lea ecx, [esp + 0x14]
call fcn.004fdecc
lea eax, [esp + 0x1c]
mov dword [esp + 0x128], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 1
lea ecx, [esp + 0x20]
push 0x104
push ecx
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, edi
call sub.MFC42.DLL_CRecentFileList::GetDisplayName
test eax, eax
je 0x45b554
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push 0
mov edx, dword [ecx + 0x20]
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
mov ebp, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x128], 1
je 0x45b53d
mov ecx, dword [edi + 8]
lea edx, [ecx + ebx*4]
mov ecx, eax
push edx
call sub.MFC42.DLL_CString::CString_1
jmp 0x45b53f
xor eax, eax
push eax
mov eax, dword [esp + 0x14]
push ebp
push 0x151
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 4]
inc ebx
cmp ebx, eax
jl 0x45b4b6
mov edx, dword [esp + 0x10]
push 0
push 0
push 0x14e
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x45b5a1
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [esp + 0x10]
push 0
call sub.MFC42.DLL_CWnd::EnableWindow
mov edi, dword [esi + 0x164]
xor ecx, ecx
test edi, edi
setne cl
push ecx
push 0x2f75
mov ecx, esi
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x402b49
Capabilities:
Get memory capacity

Disassembly:
jmp 0x46e590
sub esp, 0x20
lea eax, [esp]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x28]
cmp ecx, edx
sbb esi, esi
neg esi
jne 0x46e5cb
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x46e5cb
push 0xffffffffffffffff
push 0x30
push 0x3e8d
call sub.MFC42.DLL_AfxMessageBox
mov eax, esi
pop esi
add esp, 0x20
ret
Function at 0x402dba
Capabilities:
Get common file path

Disassembly:
jmp 0x425290
push 0xffffffffffffffff
push 0x52611e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0
mov ecx, dword [0x566da4]
push str.InTouchServerName
call fcn.00478020
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
mov edi, 0x566c74
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x68
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x120], 0
je 0x42533c
mov edx, dword [ebx + 0xe8]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edx
mov ecx, eax
call fcn.00402527
jmp 0x42533e
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword [ebx + 0xec], eax
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret