joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d00
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x449030]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0xa]
push edi
push eax
mov word [esp + 0x10], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 5
lea ecx, [esp + 0xc]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x409e46
lea eax, [esp + 4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409d50
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x409e46
cmp word [esp + eax*2 + 2], 0x5c
push esi
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
je 0x409d8d
push 0x439980
lea edx, [esp + 0xc]
push 0x104
push edx
call esi
add esp, 0xc
lea eax, [esp + 8]
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
cmp eax, edi
je 0x409e5e
push str.KSDStore
lea ecx, [esp + 0xc]
push 0x104
push ecx
mov word [eax + 2], di
call esi
add esp, 0xc
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x409de1
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x409e5e
push str.CoolWordConfig.xml
lea ecx, [esp + 0xc]
push 0x104
push ecx
call esi
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409e00
sub eax, edx
sar eax, 1
cmp eax, 0x104
jge 0x409e5e
lea edx, [esp + 8]
push edx
push 0x104
push ebx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004322b8
add esp, 0x20c
ret
mov eax, edi
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004322b8
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
mov eax, edi
pop edi
xor ecx, esp
call fcn.004322b8
add esp, 0x20c
ret
Function at 0x409e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4373d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x44a32c]
push 0x43947c
push esi
push str.picture_path
push str.Display
push eax
call fcn.00408d90
mov edx, dword [0x44a32c]
push 0x43a6e4
lea ecx, [esi + 0x14]
push ecx
push str.fontname
push str.Display
push edx
call fcn.00408d90
push 1
push str.scrollSpeed
push str.Display
call fcn.004092a0
push 0
push str.shadow
push str.Display
mov dword [esi + 0x18], eax
call fcn.004092a0
push 1
push str.fillType
push str.Display
mov dword [esi + 4], eax
call fcn.004092a0
push 0x23
push str.fontSize
push str.Display
mov dword [esi + 8], eax
call fcn.004092a0
push 0
push str.drawpath
push str.Display
mov dword [esi + 0xc], eax
call fcn.004092a0
push 1
push str.dicttype
push str.RemeberItems
mov dword [esi + 0x10], eax
call fcn.004092a0
push 0
push str.remebertype
push str.RemeberItems
mov dword [esi + 0x1c], eax
call fcn.004092a0
push 1
push str.remeberpos
push str.RemeberItems
mov dword [esi + 0x20], eax
call fcn.004092a0
push 0
push str.autosound
push str.Sound
mov dword [esi + 0x24], eax
call fcn.004092a0
mov ecx, dword [0x44a32c]
push str.Yf_
mov dword [esi + 0x30], eax
lea eax, [esi + 0x28]
push eax
push str.commondictname
push str.RemeberItems
push ecx
call fcn.00408d90
mov eax, dword [0x44a32c]
push 0x43a818
lea edx, [esi + 0x2c]
push edx
push str.newworddictname
push str.RemeberItems
push eax
call fcn.00408d90
push 0x43947c
lea ecx, [esi + 0x3c]
push ecx
push str.newwordpostext
push str.RemeberItems
mov edx, dword [0x44a32c]
push edx
call fcn.00408d90
mov ecx, dword [0x44a32c]
push 0x43947c
lea eax, [esi + 0x40]
push eax
push str.coolwordpostext
push str.RemeberItems
push ecx
call fcn.00408d90
push 0
push str.scrolltype
push str.RemeberItems
call fcn.004092a0
lea ecx, [esp + 0xc]
mov dword [esi + 0x44], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov eax, 0xffe91201
push eax
mov ecx, 0xffffff00
push ecx
lea edx, [esp + 0x14]
push str._ld__ld_
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x44a32c]
add esp, 0x10
push eax
add esi, 0x34
push esi
push str.colorArray
push str.Display
push ecx
call fcn.00408d90
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x40cd20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434998
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x30], 0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x40cd70
mov eax, dword [esi]
jmp 0x40cd72
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0xb0]
push edi
call eax
test eax, eax
jge 0x40cd93
push 0x43a958
push edi
push eax
call fcn.004315b0
push 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x10
push ebp
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
test esi, esi
mov word [esp + 0xc], 0
je 0x40cde5
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40cde5
mov eax, dword [esi]
test eax, eax
je 0x40cdcc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x40cddc
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x20
ret 8
Function at 0x413120
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ecx]
sub esp, 8
push esi
push edi
xor edi, edi
push edi
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push str.SELECT_nid_FROM_dictionary_WHERE_state1_limit_0_1
push edx
mov esi, 1
call sub.sqlite3.dll_sqlite3_prepare16
add esp, 0x14
test eax, eax
je 0x413158
xor edx, edx
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
push eax
call sub.sqlite3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
jne 0x41317d
mov ecx, dword [esp + 0xc]
push 0
push ecx
call sub.sqlite3.dll_sqlite3_column_int64
add esp, 8
mov esi, eax
mov edi, edx
mov edx, dword [esp + 0xc]
push edx
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
mov edx, edi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413a70
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435a81
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x449030]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
push str.select__from__dictionary__
lea ecx, [esp + 0x1c]
mov esi, edx
xor ebx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x78], ebx
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x413acf
lea eax, [esp + 0x1c]
mov edx, dword [edi]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push eax
push edx
call sub.sqlite3.dll_sqlite3_prepare16
add esp, 0x14
test eax, eax
je 0x413b02
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or eax, 0xffffffff
jmp 0x413bd6
mov eax, dword [esp + 0x14]
push eax
call sub.sqlite3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
jne 0x413bb5
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x14]
push 0
push ecx
call sub.sqlite3.dll_sqlite3_column_int64
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
push 1
push edx
mov dword [esp + 0x44], eax
call sub.sqlite3.dll_sqlite3_column_text16
add esp, 0x10
push eax
lea ecx, [esp + 0x40]
call dword [0x438548]
mov eax, dword [esp + 0x14]
push 2
push eax
call sub.sqlite3.dll_sqlite3_column_int64
mov ecx, dword [esp + 0x1c]
push 3
push ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
call sub.sqlite3.dll_sqlite3_column_int
add esp, 0x10
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x5c], eax
call fcn.00413ed0
mov eax, dword [esp + 0x14]
push eax
add ebx, 1
call sub.sqlite3.dll_sqlite3_step
add esp, 4
lea ecx, [esp + 0x3c]
mov edi, eax
mov byte [esp + 0x78], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp edi, 0x65
je 0x413bb5
cmp edi, 0x64
je 0x413b18
mov ecx, dword [esp + 0x14]
push ecx
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004322b8
mov esp, ebp
pop ebp
ret
Function at 0x41aaa0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x44a364]
sub esp, 0xc
test ecx, ecx
push edi
mov edi, eax
mov eax, 0x80004005
je 0x41ab98
mov eax, dword [ecx]
push 0
push 2
push 0
push ecx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
mov dword [0x44a370], 0
jl 0x41ab98
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41aae0
sub eax, edx
sar eax, 1
xor ecx, ecx
lea eax, [eax + eax + 0x44]
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call sub.MFC80U.DLL_Ordinal_265
mov esi, eax
add esp, 4
test esi, esi
je 0x41ab92
mov eax, dword [0x44a36c]
push edi
push eax
push str._PITCH_MIDDLE___d__s__PITCH_
mov edx, esi
call fcn.00414610
mov eax, dword [0x44a364]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
add esp, 0xc
push 0
push 9
push esi
push eax
call edx
mov edi, eax
test edi, edi
jl 0x41ab81
cmp dword [0x44a370], 0
jne 0x41ab81
push 0
push 0
push 0
push 0x41aa70
push 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
pop esi
mov eax, edi
pop edi
add esp, 0xc
ret
mov eax, 0x80004005
pop esi
pop edi
add esp, 0xc
ret
Function at 0x41b780
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x434319
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x449030]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x20]
push edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esi + 0x228]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x41b7ee
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
cmp eax, 0xffffffff
je 0x41b83c
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x41b80e
lea eax, [esp + 0x10]
lea edi, [esi + 0x18]
push edi
push eax
call sub.sqlite3.dll_sqlite3_open16
mov eax, dword [edi]
add esp, 8
test eax, eax
jne 0x41b838
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or eax, 0xffffffff
jmp 0x41b89d
push 0
jmp 0x41b87a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41b856
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41b821
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x41b865
lea eax, [esp + 0x10]
lea edi, [esi + 0x18]
push edi
push eax
call sub.sqlite3.dll_sqlite3_open16
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x41b821
push 1
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 4], eax
call fcn.0041b560
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004322b8
mov esp, ebp
pop ebp
ret
Function at 0x41cc50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4336d9
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x449030]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x828]
mov dword fs:[0], eax
mov esi, ecx
or ebp, 0xffffffff
lea ecx, [esi + 0x1c]
mov dword [esp + 0x20], ebp
call fcn.00413120
push 0x7fe
mov edi, eax
lea eax, [esp + 0x2a]
push 0
push eax
mov ebx, edx
mov word [esp + 0x30], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esp + 0x854], 0
push ebx
lea edx, [esp + 0x28]
push edi
jne 0x41ccf2
push str.select__wid__from__table_I64d__where_word_like___
call fcn.00414610
mov eax, dword [esi + 0x18]
push 0
lea ecx, [esp + 0x28]
push ecx
or edi, ebp
push edi
lea edx, [esp + 0x3c]
push edx
push eax
call sub.sqlite3.dll_sqlite3_prepare16
add esp, 0x20
jmp 0x41cd19
push str.select__wid__from__table_I64d__where_word____
call fcn.00414610
mov eax, dword [esi + 0x18]
push 0
lea ecx, [esp + 0x28]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
push eax
call sub.sqlite3.dll_sqlite3_prepare16
add esp, 0x20
or edi, 0xffffffff
test eax, eax
jne 0x41cd59
cmp dword [esp + 0x850], 8
mov eax, dword [esp + 0x83c]
jae 0x41cd35
lea eax, [esp + 0x83c]
mov ecx, dword [esp + 0x18]
push 0
push edi
push eax
push 1
push ecx
call sub.sqlite3.dll_sqlite3_bind_text16
add esp, 0x14
test eax, eax
je 0x41cd73
mov edx, dword [esp + 0x18]
push edx
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
lea ecx, [esp + 0x838]
mov dword [esp + 0x830], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov edx, edi
jmp 0x41cdc3
mov eax, dword [esp + 0x18]
push eax
call sub.sqlite3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
jne 0x41cd9a
mov ecx, dword [esp + 0x18]
push 0
push ecx
call sub.sqlite3.dll_sqlite3_column_int64
add esp, 8
mov ebp, eax
mov esi, edx
jmp 0x41cd9e
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push edx
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
lea ecx, [esp + 0x838]
mov dword [esp + 0x830], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebp
mov edx, esi
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.004322b8
add esp, 0x820
ret 0x20
Function at 0x41e6d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x434123
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ebx, [esi + 4]
xor eax, eax
mov dword [ebx], eax
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CBitmapObject.0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], vtable.FCObjImage.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
push str.bitmap
mov byte [esp + 0x18], 1
call fcn.00422fb0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x426680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4360d8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
cmp dword [edi + 0x34], esi
je 0x4267cc
movzx eax, word [edi + 0x1a]
cmp ax, 0x20
jne 0x4267cc
xor eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], vtable.FCObjImage.0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x88], esi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x3c]
push eax
call fcn.00423bd0
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x50]
add esp, 0x14
mov dword [esp + 0x18], edx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], ecx
push edi
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.004267f0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
push ebx
lea eax, [esp + 0x40]
call fcn.00423ad0
add esp, 0x14
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.FCObjImage.0
call fcn.00422f30
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426eb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x435418
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [esp + 0x14], eax
mov dword [edi], vtable.FCObjImage.0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
call fcn.00422d80
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 4
Function at 0x42a460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x432cd3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov eax, 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 4], edi
mov dword [esp + 0x14], edi
mov dword [esi + 8], vtable.CTrackWindowBase.0
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov byte [esp + 0x14], al
push 0x10
mov dword [esi], vtable.CControlBase.1.0
mov dword [esi + 8], vtable.CControlBase.0
call sub.MFC80U.DLL_Ordinal_762
mov dword [esi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x42eaf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x434fc3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
lea ecx, [esi + 0xc]
call fcn.00430590
mov eax, dword [esi + 0x30]
push eax
lea ecx, [esp + 0x10]
call sub.MFC80U.DLL_Ordinal_326
mov eax, dword [ebp + 8]
mov dword [esp + 0xb0], 0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x42ec4a
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
je 0x42ec4a
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
je 0x42ec4a
lea eax, [esp + 0x54]
push eax
call fcn.004301e0
lea esi, [esp + 0x54]
call fcn.00422770
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x64]
add edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edx
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call dword [sym.imp.USER32.dll_IntersectRect]
cmp dword [esp + 0x40], 0
jne 0x42ec1d
cmp dword [esp + 0x38], 0
jne 0x42ec1d
cmp dword [esp + 0x34], 0
jne 0x42ec1d
cmp dword [esp + 0x3c], 0
jne 0x42ec1d
mov ecx, esi
call fcn.004230b0
jmp 0x42ec4a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
push edi
call fcn.00430270
lea esi, [esp + 0x54]
mov dword [esp + 0x54], vtable.FCObjImage.0
call fcn.00422f30
mov dword [esp + 0x54], vtable.FCObject.0
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CBrush.0
call fcn.00406550
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42f9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x433e68
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [edi], vtable.CPaintMStateItem.0
lea esi, [edi + 0x30]
mov dword [esp + 0x14], 0
call fcn.00430150
mov ecx, edi
mov dword [edi], vtable.CPaintBase.0
call fcn.00430f70
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4