joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4332b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46075b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
lea ecx, [esp + 4]
mov dword [esp + 8], 0xff
mov dword [esp + 0xc], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 8]
push eax
push 0xff
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x433342
push 0xffffffffffffffff
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
lea eax, [esp + 4]
push eax
jmp 0x433347
lea ecx, [esp + 0x28]
push ecx
mov esi, dword [esp + 0x24]
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

Function at 0x433390
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x460782
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
inc eax
push eax
push 0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
push 1
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8

Function at 0x433420
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov esi, ecx
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea ecx, [esp + 0x14]
jne 0x433474
mov esi, dword [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, esi
pop esi
add esp, 0xc
ret 8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x18]
pop esi
add esp, 0xc
ret 8
Function at 0x4334d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x70
mov eax, dword [0x484894]
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
push edi
mov dword [esp + 0x7c], eax
mov ebx, ecx
xor edi, edi
lea ebx, [ebx]
push 0
push 0
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 4]
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push edi
push eax
mov dword [esp + 0x30], 0xff
call ebp
mov esi, eax
test esi, esi
jne 0x43352b
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x88]
call sub.MFC71.DLL_CStringList::AddTail_2
inc edi
test esi, esi
je 0x4334f0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0045b711
add esp, 0x70
ret 4
Function at 0x4354d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4609a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x435550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4609a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x436e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.0040a880
fstp dword [esp + 8]
mov ebx, dword [esp + 0x34]
push ebx
mov ecx, esi
call fcn.0040a690
mov edx, dword [esp + 0x30]
cmp ebx, edx
mov ecx, eax
mov dword [esp + 0xc], ecx
jge 0x436f83
mov esi, dword [esp + 0x28]
push ebp
push edi
mov edi, dword [esp + 0x2c]
jmp 0x436e84
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x436e96
mov eax, dword [ecx + 4]
cmp eax, edx
jge 0x436e96
fld dword [ecx + 8]
mov ebp, eax
jmp 0x436ea2
mov ecx, dword [esp + 0x28]
push edx
mov ebp, edx
call fcn.0040a880
fld dword [esp + 0x10]
mov ecx, ebp
sub ecx, ebx
fld st(1)
cmp ebx, ebp
fsub dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fidiv dword [esp + 0x10]
mov ecx, ebx
fstp dword [esp + 0x10]
jge 0x436f58
xor eax, eax
cmp esi, 4
jl 0x436f2a
lea ebx, [esi - 3]
mov edx, ecx
fld st(0)
sub edx, dword [esp + 0x3c]
imul edx, esi
add edx, eax
lea edx, [edi + edx*4]
fmul dword [edx]
fstp dword [edx]
mov edx, ecx
sub edx, dword [esp + 0x3c]
fld st(0)
imul edx, esi
add edx, eax
lea edx, [edi + edx*4 + 4]
fmul dword [edx]
fstp dword [edx]
mov edx, ecx
sub edx, dword [esp + 0x3c]
fld st(0)
imul edx, esi
add edx, eax
lea edx, [edi + edx*4 + 8]
fmul dword [edx]
fstp dword [edx]
mov edx, ecx
sub edx, dword [esp + 0x3c]
fld st(0)
imul edx, esi
add edx, eax
lea edx, [edi + edx*4 + 0xc]
add eax, 4
cmp eax, ebx
fmul dword [edx]
fstp dword [edx]
jl 0x436ed0
cmp eax, esi
jge 0x436f4b
mov edi, edi
mov ebx, dword [esp + 0x3c]
fld st(0)
mov edx, ecx
sub edx, ebx
imul edx, esi
add edx, eax
lea edx, [edi + edx*4]
inc eax
cmp eax, esi
fmul dword [edx]
fstp dword [edx]
jl 0x436f30
fadd dword [esp + 0x10]
inc ecx
cmp ecx, ebp
jl 0x436ec6
mov eax, dword [esp + 0x14]
fstp st(0)
test eax, eax
fstp dword [esp + 0x10]
mov ebx, ebp
je 0x436f75
mov ecx, dword [esp + 0x28]
call fcn.0040a6e0
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x38]
cmp ebp, edx
jl 0x436e80
pop edi
pop ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call fcn.00434710
mov ecx, dword [esp + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43ad30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
xor ebx, ebx
push ebp
mov ebp, 0x46e47c
push esi
mov esi, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xa
lea ecx, [esi + 0x140]
mov dword [esp + 0x40], ebx
call fcn.00413910
movsx eax, ax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul dword [0x467238]
fstp dword [esp + 0xc]
fld qword [0x467240]
fld dword [esp + 0xc]
call sub.MSVCR71.dll__CIpow
mov edx, dword [esi + 0x13c]
mov eax, dword [esi + 0x138]
lea ecx, [esp + 0x1c]
push ecx
push edx
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 0x194]
call fcn.00403b20
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esi + 0x19c], eax
jne 0x43ae03
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x1c], ebp
call fcn.0043a770
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
mov ecx, dword [esi + 0x198]
cmp ecx, ebx
je 0x43ae2c
mov edx, dword [ecx - 4]
cmp edx, ebx
lea eax, [ecx - 4]
je 0x43ae1f
mov edx, dword [ecx]
push 3
call dword [edx]
jmp 0x43ae28
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov eax, dword [esp + 0x28]
push edi
mov edi, eax
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 4]
push ecx
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x44], 1
je 0x43ae70
push fcn.00434710
push fcn.00434690
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.0045b92e
mov eax, ebp
mov ebp, 0x46e47c
jmp 0x43ae72
xor eax, eax
mov dword [esi + 0x198], eax
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x44], bl
je 0x43aebd
xor edi, edi
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
call fcn.0043ac50
mov ecx, dword [esi + 0x198]
push eax
add ecx, edi
mov byte [esp + 0x48], 2
call fcn.004347b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], bl
call fcn.00434710
mov eax, dword [esp + 0x2c]
add edi, 0xc
cmp eax, ebx
jne 0x43ae84
mov eax, dword [esi + 0x20]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x20], ebp
call fcn.0043a770
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x43daa0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x461332
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esi + 0x128]
mov dword [esp + 0x34], ecx
lea eax, [esi + 0x17c]
mov dword [esp + 0x30], eax
lea ecx, [esi + 0x228]
mov dword [esp + 0x20], ecx
lea edx, [esi + 0xd4]
lea eax, [esi + 0x80]
lea ecx, [esi + 0x324]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
xor edi, edi
lea edx, [esi + 0x27c]
lea eax, [esi + 0x2d0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0041f170
mov ebx, eax
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x7c]
lea ecx, [eax + edi + 1]
push ecx
lea edx, [esp + 0x14]
push 0xa4
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
mov ebp, dword [esp + edi*4 + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebp
call sub.MFC71.DLL_CWnd::SetWindowTextA
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x14]
add eax, edi
cmp eax, ecx
mov ecx, ebp
jge 0x43dc26
push 5
call sub.MFC71.DLL_CWnd::ShowWindow
mov ebp, dword [esp + edi*4 + 0x20]
push 5
mov ecx, ebp
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0x7c]
add ecx, edi
push ecx
mov ecx, ebx
call sub.MFC71.DLL_CObList::FindIndex
test eax, eax
je 0x43dc54
mov ebx, dword [eax + 8]
mov edx, dword [esi + 0x78]
push edx
mov ecx, ebx
call fcn.00401e20
fld dword [0x46592c]
fld dword [eax]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x43dbda
mov eax, dword [esi + 0x78]
push eax
mov ecx, ebx
call fcn.00401e20
fld dword [eax]
fldlg2
fxch st(1)
fyl2x
fmul dword [0x4685d8]
jmp 0x43dbe0
fld dword [0x4685d4]
call fcn.0045b73c
mov ecx, ebp
push eax
call fcn.004138f0
push 0x115
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, eax
mov byte [esp + 0x48], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebp
call fcn.004138d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ebx, dword [esp + 0x1c]
jmp 0x43dc38
push 0
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, dword [esp + edi*4 + 0x20]
push 0
call sub.MFC71.DLL_CWnd::ShowWindow
inc edi
cmp edi, 4
jl 0x43db33
mov edi, dword [esp + 0x14]
test edi, edi
lea ecx, [esi + 0x1d0]
jle 0x43dc59
push 0
jmp 0x43dc5b
jmp fcn.0045aa4e
push 5
call sub.MFC71.DLL_CWnd::ShowWindow
xor ecx, ecx
cmp edi, 4
setg cl
push ecx
lea ecx, [esi + 0x37c]
call sub.MFC71.DLL_CWnd::EnableWindow
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x43daba
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x461332
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esi + 0x128]
mov dword [esp + 0x34], ecx
lea eax, [esi + 0x17c]
mov dword [esp + 0x30], eax
lea ecx, [esi + 0x228]
mov dword [esp + 0x20], ecx
lea edx, [esi + 0xd4]
lea eax, [esi + 0x80]
lea ecx, [esi + 0x324]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
xor edi, edi
lea edx, [esi + 0x27c]
lea eax, [esi + 0x2d0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0041f170
mov ebx, eax
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x7c]
lea ecx, [eax + edi + 1]
push ecx
lea edx, [esp + 0x14]
push 0xa4
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
mov ebp, dword [esp + edi*4 + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebp
call sub.MFC71.DLL_CWnd::SetWindowTextA
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x14]
add eax, edi
cmp eax, ecx
mov ecx, ebp
jge 0x43dc26
push 5
call sub.MFC71.DLL_CWnd::ShowWindow
mov ebp, dword [esp + edi*4 + 0x20]
push 5
mov ecx, ebp
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0x7c]
add ecx, edi
push ecx
mov ecx, ebx
call sub.MFC71.DLL_CObList::FindIndex
test eax, eax
je 0x43dc54
mov ebx, dword [eax + 8]
mov edx, dword [esi + 0x78]
push edx
mov ecx, ebx
call fcn.00401e20
fld dword [0x46592c]
fld dword [eax]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x43dbda
mov eax, dword [esi + 0x78]
push eax
mov ecx, ebx
call fcn.00401e20
fld dword [eax]
fldlg2
fxch st(1)
fyl2x
fmul dword [0x4685d8]
jmp 0x43dbe0
fld dword [0x4685d4]
call fcn.0045b73c
mov ecx, ebp
push eax
call fcn.004138f0
push 0x115
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, eax
mov byte [esp + 0x48], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebp
call fcn.004138d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ebx, dword [esp + 0x1c]
jmp 0x43dc38
push 0
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, dword [esp + edi*4 + 0x20]
push 0
call sub.MFC71.DLL_CWnd::ShowWindow
inc edi
cmp edi, 4
jl 0x43db33
mov edi, dword [esp + 0x14]
test edi, edi
lea ecx, [esi + 0x1d0]
jle 0x43dc59
push 0
jmp 0x43dc5b
jmp fcn.0045aa4e
push 5
call sub.MFC71.DLL_CWnd::ShowWindow
xor ecx, ecx
cmp edi, 4
setg cl
push ecx
lea ecx, [esi + 0x37c]
call sub.MFC71.DLL_CWnd::EnableWindow
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x43f1c7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4614cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x46f0e0
mov dword [esp + 8], esi
mov dword [esi + 4], ebx
lea ecx, [esi + 0x44]
mov dword [esp + 0x14], ebx
call fcn.0043f0e0
xor eax, eax
lea ecx, [esi + 8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x28], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43f5f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x461576
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
lea ebx, [ebp + 4]
mov dword [ebp], 0x46f0e0
push edi
mov dword [esp + 0x10], ebp
mov dword [ebx], 0
lea ecx, [ebp + 0x44]
mov dword [esp + 0x1c], 0
call fcn.0043f0e0
push ebx
push 0x46ee00
push 0x17
push 0
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x30], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, 4
mov edi, 0x46a810
lea esi, [esp + 0x34]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
je 0x43f686
mov edx, dword [esp + 0x34]
mov ebx, dword [ebx]
mov eax, dword [ebx]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
push ebx
mov dword [ecx + 0xc], esi
call dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov byte [ebp + 0x28], al
lea eax, [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x38]
lea eax, [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
pop edi
mov dword [eax + 0xc], esi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x20
Function at 0x446676
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4466f9
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 4]
mov edi, eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.004465d6
test eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
je 0x4466d7
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp + 8]
push 0
push esi
lea eax, [esi + eax*4]
add eax, dword [esi]
push eax
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x44772d
Capabilities:
Get file version info

Disassembly:
mov eax, 0x46215c
call fcn.0045be24
sub esp, 0x43c
mov eax, dword [0x484894]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x438], ebx
xor eax, eax
mov byte [ebp - 0x424], bl
mov ecx, 0x104
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
push 0x410
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x434], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x4477c3
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x4477c3
mov ecx, dword [ebp + 8]
push 0x465798
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x44789b
lea eax, [ebp - 0x425]
push eax
push esi
lea ecx, [ebp - 0x448]
mov byte [ebp - 0x425], bl
call fcn.00447704
push dword [ebp - 0x444]
lea eax, [ebp - 0x424]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x447825
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x4681e4
push dword [ebp - 0x444]
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x447835
mov ecx, dword [ebp + 8]
push 0x465798
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x447890
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov eax, dword [ebp - 0x430]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea eax, [ebp - 0x42c]
push str._d._d._d._d
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x448]
call fcn.0044a4b7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0045b711
leave
ret 4