joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413bd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43bb72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x47f070]
xor eax, esp
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x10], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ebp, [esi + 4]
mov ecx, ebp
mov dword [esp + 0x60], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ebx, [esi + 8]
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea edi, [esi + 0xc]
mov ecx, edi
mov byte [esp + 0x60], 2
call fcn.00412960
mov dword [edi + 4], eax
mov byte [eax + 0x25], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
lea edi, [esi + 0x18]
mov ecx, edi
mov byte [esp + 0x60], 3
call fcn.00412960
mov dword [edi + 4], eax
mov byte [eax + 0x25], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
lea edi, [esi + 0x28]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [edi + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [edi + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..LocaleLocale.ini
push 0x40
lea eax, [esp + 0x1c]
push eax
push 0x441bfc
push str.Locale
push str.Locale
mov byte [esp + 0x78], 5
call edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [0x43f528]
push str..LocaleLocale.ini
push 0x40
lea edx, [esp + 0x1c]
push edx
push 0x44093e
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push str.Folder
call edi
lea eax, [esp + 0x14]
push eax
push str..Locale_
push str._s_s_
push ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push str..LocaleLocale.ini
push 0x40
lea ecx, [esp + 0x1c]
push ecx
push 0x44093e
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push str.Mean
call edi
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
call dword [0x43f528]
mov ecx, esi
call fcn.00413170
mov ecx, esi
call fcn.00413620
mov ecx, esi
call fcn.00412520
mov ecx, dword [esp + 0x58]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x48]
pop ebx
xor ecx, esp
call fcn.0043a16b
add esp, 0x54
ret
Function at 0x414730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43bc91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.DWLib.dll_public:_static_class_darwin::ActiveManager::ActiveManageModel____cdecl_darwin::ActiveManager::ActiveManageModel::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.DWLib.dll_public:_class_darwin::shared_ptr_class_darwin::DataManager::Image__class_darwin::ObjectManager_class_darwin::DataManager::Image_____thiscall_darwin::ActiveManager::ActiveManageModel::GetActiveImage_void_]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
test ecx, ecx
mov ebp, 1
mov dword [esp + 0x28], ebp
jne 0x4147da
push ebx
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00413e70
mov esi, dword [esp + 0x18]
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x30], 0
mov dword [esp + 0x18], 0x441a90
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
xor bl, bl
dec eax
mov dword [esi + 8], eax
jne 0x4147b1
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
pop ebx
je 0x4147c4
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
call dword [sym.imp.DWLib.dll_public:_unsigned_int___thiscall_darwin::DataManager::Image::GetMGGraphicObjectCount_void_]
test eax, eax
push 0
je 0x41480c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.DWLib.dll_public:_class_darwin::shared_ptr_class_MGGraphicObject__class_darwin::ObjectManager_class_MGGraphicObject_____thiscall_darwin::DataManager::Image::GetMGGraphicObject_int_]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
lea ecx, [esp + 0x18]
call fcn.0040e5d0
test esi, esi
jne 0x41483d
push esi
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00413e70
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x28], 0
call fcn.0040e480
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov edi, dword [esp + 0x30]
push edi
mov ecx, esi
call dword [sym.imp.IWLib.dll_public:_class_darwin::shared_ptr_class_CDicomData__class_darwin::ObjectManager_class_CDicomData_____thiscall_MGGraphicObject::GetDicomData_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x28], 0
call fcn.0040e480
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4169b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43bef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov esi, dword [ebx + 4]
push edi
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x14], 0x441e5c
mov dword [esp + 0x18], esi
call ebp
mov eax, dword [esi + 8]
inc eax
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, ebx
mov dword [esp + 0x24], 0
call fcn.00414db0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00414db0
push edi
mov dword [esp + 0x24], 0xffffffff
call ebp
mov eax, dword [esi + 8]
xor bl, bl
dec eax
mov dword [esi + 8], eax
jne 0x416a33
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x416a46
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x417d00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43c088
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push ebx
mov dword [esp + 0x1c], 0
call fcn.00414db0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x2c], esp
lea edi, [esi + 0xc]
push edi
mov dword [eax], 0x441e5c
mov dword [eax + 4], esi
call ebp
mov ecx, dword [esi + 8]
inc ecx
push edi
mov dword [esi + 8], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x30]
sub eax, ebx
sar eax, 3
push eax
push 0
push ebx
call fcn.00417b40
add esp, 0x18
push edi
mov dword [esp + 0x1c], 0xffffffff
call ebp
mov eax, dword [esi + 8]
xor bl, bl
dec eax
mov dword [esi + 8], eax
jne 0x417d91
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x417da4
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x41a3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c2b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 8]
call dword [0x43f434]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41f820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c71a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
mov dword [esp + 0x20], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov esi, dword [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0xc]
push edi
mov dword [ebp + 4], 0x441a94
mov dword [ebp + 8], esi
call ebx
mov eax, dword [esi + 8]
inc eax
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 1
call dword [0x43f434]
push edi
mov byte [esp + 0x20], 0
call ebx
mov eax, dword [esi + 8]
xor bl, bl
dec eax
mov dword [esi + 8], eax
jne 0x41f8aa
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x41f8bd
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x421be0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43ca37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
call fcn.00439c30
mov dword [esi + 0x54], 0x4427bc
mov eax, dword [sym.imp.IWLib.dll_const_ImageWindowEventListener::vftable]
mov dword [esi + 0x58], eax
push fcn.0040d260
lea ebx, [esi + 0x54]
mov dword [esi + 0x5c], 0x4427e4
mov ecx, dword [sym.imp.DWLib.dll_const_darwin::ActiveManager::ActiveManageSender::vftable]
push 0x4119c0
push 0x19
mov dword [esi + 0x60], ecx
push 0x1e0
lea edx, [esi + 0x64]
push edx
mov byte [esp + 0x30], 1
mov dword [esi], 0x442898
mov dword [ebx], 0x442870
mov dword [esi + 0x58], 0x442844
mov dword [esi + 0x5c], 0x442818
mov dword [esi + 0x60], 0x442814
call fcn.0043a21c
lea ebp, [esi + 0x2f50]
push 0x24
mov byte [esp + 0x20], 2
mov dword [ebp], 0x4413f8
call sub.MFC71.DLL_operator_new
mov edi, eax
add esp, 4
test edi, edi
je 0x421cb1
lea eax, [edi + 0xc]
push eax
mov dword [edi], 0x441cc4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 4], 0
mov dword [edi + 8], 1
jmp 0x421cb3
xor edi, edi
mov dword [ebp + 4], edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
mov byte [esp + 0x20], 3
mov dword [esi + 0x2f44], 0
call fcn.00414db0
mov edx, dword [esi + 0x2f54]
mov ecx, dword [edx + 4]
push ebx
call fcn.00428a10
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esi + 0x2f58], eax
xor eax, eax
lea ebp, [edi + 0xc]
push ebp
mov dword [esi + 0x2f6c], eax
mov dword [esi + 0x2f70], eax
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
xor bl, bl
dec eax
mov dword [edi + 8], eax
jne 0x421d1b
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x421d2e
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x423cf0
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2f54]
mov ecx, dword [eax + 4]
call fcn.004240b0
test eax, eax
jl 0x423d28
cmp eax, 0x19
jge 0x423d28
mov ecx, dword [esi + 0x2f54]
mov ecx, dword [ecx + 4]
call fcn.004240b0
imul eax, eax, 0x1e0
lea ecx, [eax + esi + 0x64]
pop esi
jmp fcn.0040fec0
pop esi
ret
Function at 0x424520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43cc98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov esi, dword [ebx + 4]
push edi
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x14], 0x442afc
mov dword [esp + 0x18], esi
call ebp
mov eax, dword [esi + 8]
inc eax
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, ebx
mov dword [esp + 0x24], 0
call fcn.00414db0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00414db0
push edi
mov dword [esp + 0x24], 0xffffffff
call ebp
mov eax, dword [esi + 8]
xor bl, bl
dec eax
mov dword [esi + 8], eax
jne 0x4245a3
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x4245b6
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42ec30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d7e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 1
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edi
call sub.MFC71.DLL_CSingleLock::CSingleLock
mov edx, dword [edi + 4]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [edx]
cmp eax, edx
je 0x42eca0
mov esi, edx
lea esp, [esp]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esp + 0x14]
jle 0x42ec8d
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esp + 0x18]
jle 0x42ec9a
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
cmp eax, esi
jne 0x42ec80
mov esi, dword [edx]
cmp esi, edx
je 0x42ed44
push ebp
jmp 0x42ecb1
mov esi, dword [esp + 0x10]
mov al, byte [esi + 8]
test al, al
jne 0x42ed30
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0xc], ecx
jl 0x42ecca
mov edx, dword [esp + 0x1c]
cmp dword [esi + 0x10], edx
jge 0x42ed30
mov eax, dword [esi]
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 4]
je 0x42ed36
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov edi, dword [esi + 0x18]
lea ebp, [edi + 0xc]
push ebp
mov dword [esi + 0x14], 0x442ffc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
xor bl, bl
dec eax
mov dword [edi + 8], eax
jne 0x42ed05
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x42ed18
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
push esi
call sub.MFC71.DLL_operator_delete
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
add esp, 4
dec ecx
mov dword [eax + 8], ecx
mov edi, eax
jmp 0x42ed36
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edi + 4]
jne 0x42ecad
pop ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC71.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4351d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43dd6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
push 4
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], esi
mov dword [esi], 0x44364c
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0x40400000
mov dword [esi + 0x2c], 0x41200000
mov dword [esi + 0x30], ebx
call fcn.00435150
lea edi, [esi + 0x48]
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esi + 0x44], ebx
call fcn.00427420
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x438110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43dfd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
lea ecx, [esp + 8]
xor edi, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], edi
call sub.MFC71.DLL_CStringArray::CStringArray
mov eax, dword [esp + 0x30]
push 1
push 0x5c
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x38], 1
call fcn.00439030
mov eax, dword [esp + 0x24]
add esp, 0x10
xor esi, esi
test eax, eax
jle 0x438256
lea esp, [esp]
test esi, esi
jl 0x438281
cmp esi, eax
jge 0x438281
mov edx, dword [esp + 0x10]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0xc]
call dword [0x43f43c]
push 0x44093e
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x438246
push str.ISO_2022_IR_6
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x438246
push str.ISO_2022_IR_87
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x4381d8
or edi, 2
jmp 0x438249
push str.ISO_IR_13
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x438241
push str.ISO_2022_IR_13
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x438241
push str.ISO_IR_100
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x43823c
push str.ISO_2022_IR_100
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x43823c
push str.Windows_31J
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x438249
or edi, 0x10
jmp 0x438249
or edi, 8
jmp 0x438249
or edi, 4
jmp 0x438249
or edi, 1
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x438170
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00439f6c
lea ecx, [esp + 8]
call dword [0x43f434]
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
jmp fcn.00439dbc
Function at 0x43a3fd
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4440e0
call fcn.0043a5fc
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x43a43d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43a43d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43a455
cmp eax, 0x20b
je 0x43a442
mov dword [ebp - 0x1c], ebx
jmp 0x43a469
cmp dword [ecx + 0x84], 0xe
jbe 0x43a43d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x43a463
cmp dword [ecx + 0x74], 0xe
jbe 0x43a43d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x47f858], 0xffffffff
or dword [0x47f85c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x47f810]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x47f80c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x47f854], eax
call fcn.0043a6fa
call fcn.0043a79a
cmp dword [0x47f0a0], ebx
jne 0x43a4c9
push fcn.0043a79a
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0043a788
push 0x44d044
push 0x44d040
call sub.MSVCR71.dll__initterm
push 0x43a73e
call fcn.0043a204
mov eax, dword [0x47f808]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x47f804]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x43a51d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x44d03c
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x43a59b
cmp al, bl
je 0x43a547
cmp dword [ebp - 0x20], ebx
jne 0x43a59b
mov al, byte [esi]
cmp al, bl
je 0x43a557
cmp al, 0x20
ja 0x43a557
inc esi
mov dword [ebp - 0x24], esi
jmp 0x43a547
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x43a573
movzx eax, word [ebp - 0x54]
jmp 0x43a576
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.0043a8a0
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x43a593
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x43a5f0
cmp al, 0x22
jne 0x43a5aa
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x43a5bd
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x43a535
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0043a637
ret
Function at 0x40141e
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x214
lea eax, [esp]
push ebp
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x22c]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or eax, 9
push eax
push dword [esp + 0x230]
push dword [esp + 0x230]
call fcn.004062ad
test eax, eax
jne 0x401527
xor ebp, ebp
test byte [esp + 0x22c], 2
je 0x401493
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebp
push eax
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x401503
push 0x105
lea eax, [esp + 0x18]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4014ce
test edi, edi
jne 0x401503
push dword [esp + 0x22c]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0040141e
test eax, eax
jne 0x4014d8
push 0x105
lea eax, [esp + 0x18]
push eax
push edi
push dword [esp + 0x18]
call ebp
test eax, eax
je 0x4014a6
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004068bb
test eax, eax
jne 0x401514
push dword [esp + 0x228]
push dword [esp + 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x401527
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x401527
push 0
push esi
push dword [esp + 0x230]
push dword [esp + 0x230]
call eax
pop edi
pop esi
pop ebp
add esp, 0x214
ret 0xc