joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002e20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1007e8c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
xor ecx, ecx
mov dword [ebx + 0x20], 0x10081548
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx], sym.AdjustBase.dll_const_CObserve::vftable
mov word [ebx + 0x10], cx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x14], ecx
mov edx, dword [ebx + 0x24]
mov byte [esp + 0x20], 1
cmp edx, ecx
jne 0x10002eab
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
mov ecx, 8
xor eax, eax
mov dword [ebx + 0x24], edi
rep stosd dword es:[edi], eax
mov eax, 4
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x28], eax
jmp 0x10002f87
mov esi, dword [ebx + 0x2c]
mov ebp, 4
cmp esi, ebp
jl 0x10002ee4
mov ecx, dword [ebx + 0x28]
cmp ecx, ebp
jge 0x10002edc
mov eax, ebp
lea edi, [edx + ecx*8]
sub eax, ecx
lea ecx, [eax*8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x28], ebp
jmp 0x10002f87
mov eax, dword [ebx + 0x30]
cmp eax, ecx
jne 0x10002f0b
mov eax, dword [ebx + 0x28]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, ebp
jge 0x10002eff
mov eax, ebp
jmp 0x10002f0b
cmp eax, 0x400
jle 0x10002f0b
mov eax, 0x400
add eax, esi
cmp eax, ebp
mov dword [esp + 0x10], eax
jg 0x10002f19
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
lea ecx, [eax*8]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x28]
mov esi, dword [ebx + 0x24]
shl ecx, 3
mov ebp, eax
mov edx, ecx
mov edi, ebp
mov eax, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x28]
sub eax, ecx
lea edi, [ebp + ecx*8]
lea ecx, [eax*8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x24]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x28], 4
mov dword [ebx + 0x2c], ecx
mov ecx, ebx
call sym.AdjustBase.dll_public:_void___thiscall_CObserve::ZeroModVal_void_
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10003e10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1007e98e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x10081534
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CPtrArray::CPtrArray
push 0x1009cff4
mov ecx, ebx
mov byte [esp + 0x1c], 2
mov dword [esi], sym.AdjustBase.dll_const_CPoint3D::vftable
mov dword [esi + 0x30], edi
mov word [esi + 0x38], di
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], edi
mov dword [esi + 8], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100087a0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1007ed70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
movsx eax, word [esp + 0x58]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
mov ebp, dword [sym.imp.USER32.dll_PtInRect]
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov edx, esi
sub edx, eax
lea ebx, [edi + eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], edx
mov edx, edi
mov dword [esp + 0x2c], ebx
sub edx, eax
add eax, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
xor edi, edi
lea ebx, [ecx + 0x18]
lea esi, [esp + 0x28]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push ebx
call ebp
test eax, eax
jne 0x1000882e
inc edi
add esi, 8
cmp edi, 4
jl 0x10008812
jmp 0x100088e9
cmp edi, 4
jge 0x100088e9
xor ebx, ebx
mov dword [esp + 0x10], 0x10081680
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x1000886f
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push 0x10
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
jmp 0x10008879
push ebx
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov edi, eax
mov eax, dword [esp + 0x6c]
cmp eax, ebx
push 5
je 0x100088b0
mov eax, dword [esi + 4]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.GDI32.dll_Polygon]
jmp 0x100088bf
mov edx, dword [esi + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x10081658
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x14

Function at 0x1000b820
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1007efef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_2
push 0x100
push 0x100
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1000b8b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1007f01f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_2
push 0x100
push 0x100
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x1000b9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007f050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
fld qword [esp + 0x20]
push ebx
push esi
fabs
fstp qword [esp + 0x28]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x10]
xor ebx, ebx
push str._.6f
push edx
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
add esp, 0x10
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push 2
add eax, 0xfffffffe
push eax
call sub.MFC42.DLL_CString::Delete
push 0x2e
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find_3
mov esi, eax
lea ecx, [esp + 0xc]
push esi
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
mov edx, dword [esp + 0xc]
mov byte [esp + 0x20], 1
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fcomp qword [0x100817a8]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x1000bada
inc esi
push 2
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Mid_1
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x20], 2
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fcomp qword [0x10081758]
add esp, 4
fnstsw ax
test ah, 1
je 0x1000bacc
lea edx, [esp + 0x14]
push 2
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Right
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fcomp qword [0x10081758]
add esp, 4
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x1000bb0b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x1000d360
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push esi
push 6
push 1
push edi
call ebx
lea eax, [edi + 8]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 0x18
test al, al
jne 0x1000d390
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea ecx, [edi + 0x10]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 8
test al, al
jne 0x1000d3a7
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea edx, [edi + 0x18]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 8
test al, al
jne 0x1000d3be
pop edi
pop esi
xor eax, eax
pop ebx
ret
push esi
push 1
lea eax, [edi + 0x20]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
je 0x1000d3d7
pop edi
pop esi
xor eax, eax
pop ebx
ret
add edi, 0x24
push edi
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
neg al
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
ret

Function at 0x1000d3f0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push esi
push edi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d40d
pop edi
xor eax, eax
pop esi
ret
lea eax, [esi + 8]
push eax
push edi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 8
test al, al
jne 0x1000d423
pop edi
xor eax, eax
pop esi
ret
lea ecx, [esi + 0x10]
push ecx
push edi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d439
pop edi
xor eax, eax
pop esi
ret
push edi
push 1
lea edx, [esi + 0x14]
push 2
push edx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x1000d455
pop edi
xor eax, eax
pop esi
ret
add esi, 0x18
push esi
push edi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
neg al
sbb eax, eax
pop edi
neg eax
pop esi
ret
Function at 0x1000e6d0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1007f138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CUIntArray::CUIntArray
push 0x10089754
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov bl, 0x43
mov byte [esp + 0x34], 1
mov byte [esp + 0x10], bl
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push eax
push 0
call sub.MFC42.DLL_CString::SetAt
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1000e786
mov ecx, dword [esp + 8]
push 0
push 0
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push 0x100
push 0
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0xff
call esi
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CUIntArray::SetAtGrow
inc bl
cmp bl, 0x47
mov byte [esp + 0x10], bl
jb 0x1000e71a
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
jle 0x1000e7a0
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
add eax, 4
shr esi, 1
add ecx, esi
dec edx
jne 0x1000e794
push ecx
lea ecx, [esp + 0xc]
push str._u000000
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 8]
push 9
push edx
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.1007dfe8
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x1000e830
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1007f168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CUIntArray::CUIntArray
push 0x10089754
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov bl, 0x43
mov byte [esp + 0x34], 1
mov byte [esp + 0x10], bl
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push eax
push 0
call sub.MFC42.DLL_CString::SetAt
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1000e8e6
mov ecx, dword [esp + 8]
push 0
push 0
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push 0x100
push 0
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0xff
call esi
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CUIntArray::SetAtGrow
inc bl
cmp bl, 0x47
mov byte [esp + 0x10], bl
jb 0x1000e87a
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
jle 0x1000e900
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
add eax, 4
shr esi, 1
add ecx, esi
dec edx
jne 0x1000e8f4
push ecx
lea ecx, [esp + 0xc]
push str._u000000
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 8]
push 9
push edx
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.1007dfe8
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x1000f6f0
Capabilities:
Timestomp file

Disassembly:
push 0xffffffffffffffff
push 0x1007f278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x54], 0
call sub.MFC42.DLL_COleDateTime::GetAsSystemTime
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [esp + 0x18]
lea edx, [esp + 4]
push ecx
push edx
call esi
lea eax, [esp + 0x20]
lea ecx, [esp + 4]
push eax
push ecx
call esi
lea edx, [esp + 0x28]
lea eax, [esp + 4]
push edx
push eax
call esi
mov ecx, dword [esp + 0x58]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x1000f7b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007f2a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [esp + 0x230]
push esi
push 0x10089fbc
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x238]
mov dword [esp + 0x228], 0
push edx
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
push eax
push ecx
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x228], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
push 0xf003f
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f8dd
lea ecx, [esp + 4]
push ecx
call fcn.1000e540
add esp, 4
lea ecx, [esp + 4]
mov dword [esp + 0x228], 1
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [esp + 0x23c]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 8]
push eax
call fcn.1000f5b0
mov ecx, dword [esp + 0xc]
add esp, 8
lea edx, [esp + 0x14]
push ecx
push edx
call esi
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push 0x20c
push eax
push 1
push 0
push 0x1009cff4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov dword [esp + 0x228], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x220]
pop esi
mov dword fs:[0], ecx
add esp, 0x228
ret
Function at 0x1000f900
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007f2c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [esp + 0x238]
push esi
push 0x10089fbc
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x240]
mov dword [esp + 0x230], 0
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x244]
push 0x1009cff4
mov ecx, esi
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 4]
lea eax, [esp + 0x1c]
push edx
push 0xf003f
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000fa2a
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0x1009cff4
push ecx
mov dword [esp + 0x28], 0x20c
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000fa2a
lea edx, [esp + 0x1c]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0x238], 1
call fcn.1000f660
mov ecx, dword [esp + 0xc]
add esp, 8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x228]
pop esi
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x1000fa40
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1007f2e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x38]
push 0x200
push eax
mov dword [esp + 0x248], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [esp + 0x24c]
lea eax, [esp + 0x38]
mov edx, dword [ecx]
lea ecx, [esp + 0xc]
push edx
push eax
push str._s_s_
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0x10
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esp + 0x250]
lea ecx, [esp + 0xc]
push eax
call fcn.1007dfdc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0xc]
push 0
push 0x9001
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24c], 1
call sub.MFC42.DLL_CFile::Open
mov ebp, dword [esp + 0x254]
push 4
lea ecx, [esp + 0x1c]
mov edx, dword [ebp]
mov eax, dword [edx - 8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CFile::Write
mov eax, dword [ebp]
xor esi, esi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x1000fb3c
xor edi, edi
movsx ecx, byte [eax + esi]
add ecx, edi
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
push 4
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [ebp]
inc esi
add edi, 3
cmp esi, dword [eax - 8]
jl 0x1000fb16
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, 0x64
call edi
and eax, 0x7f
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Write
dec esi
jne 0x1000fb47
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Close
push 0
push 0x35
push 8
push 0xf
push 0xc
push 0x7d1
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_COleDateTime::SetDateTime
lea ecx, [esp + 0x28]
lea edx, [esp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
call fcn.1000f6f0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 0
call fcn.1007e00c
lea ecx, [esp + 0xc]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x238]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x238
ret