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

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov esi, ecx
je 0x42106b
cmp dword [esp + 0x24], edi
mov dword [esi + 0x78], ebp
je 0x421037
push ebx
call fcn.0043d7d0
mov ecx, eax
call sub.MFC71.DLL_CRuntimeClass::CreateObject
push edi
push 0xe900
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0x40000000
push str.m_pMsgHtmlView
mov dword [esi + 0x74], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x5c]
mov ecx, dword [esi + 0x74]
push edi
call sub.MFC71.DLL_CWnd::ShowWindow
push str.configconfig.ini
lea edx, [esp + 0x28]
push 0x4cbdc0
push edx
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 1
push str.WebAlarmShowbFlag
push 0x4ac6b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
lea ecx, [esp + 0x24]
setne bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 0xec]
mov ecx, dword [eax]
xor edx, edx
test bl, bl
setne dl
dec edx
push edx
push eax
call dword [ecx + 0xf0]
pop ebx
mov eax, dword [esi + 0x74]
cmp eax, edi
je 0x42106b
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42106b
mov ecx, dword [esi + 0x74]
push edi
push edi
push edi
push edi
push edi
add ebp, 0x54
push ebp
call sub.MFC71.DLL_CHtmlView::Navigate2
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10
ret 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret 8
Function at 0x425260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5524
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
push 1
mov edi, ecx
push 2
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov eax, dword [esp + 0xb8]
mov esi, dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
push str.___false__
push eax
lea ecx, [esp + 0x30]
push str.user_pref__network.protocol_handler.warn_external.
push ecx
mov dword [esp + 0xc0], 0
call esi
add esp, 8
push eax
call esi
add esp, 8
push eax
call esi
add esp, 8
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov ecx, eax
mov byte [esp + 0xb0], 1
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call fcn.004251f0
lea ecx, [esp + 0xc]
mov bl, al
mov byte [esp + 0xb0], 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_]
test bl, bl
lea ecx, [esp + 0x28]
je 0x42531f
mov dword [esp + 0xb0], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov al, 1
jmp 0x42536d
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov ecx, eax
mov byte [esp + 0xb0], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call fcn.00424b80
lea ecx, [esp + 0xc]
mov bl, al
mov byte [esp + 0xb0], 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_]
lea ecx, [esp + 0x28]
mov dword [esp + 0xb0], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov al, bl
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 4
Function at 0x4258f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a5617
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x410], eax
mov dword [esp + 0xc], esi
call fcn.00448040
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [esp + 0x41c], ebx
mov dword [esi], 0x4b0aac
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x24]
mov byte [esp + 0x41c], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
push 0x400
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x424], 3
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esp + 0x18], bl
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x10]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x425990
mov ecx, dword [str.psapi.dll]
mov edx, dword [0x4b0b34]
mov ax, word [0x4b0b38]
mov dword [edi], ecx
mov cl, byte [0x4b0b3a]
mov dword [edi + 4], edx
lea edx, [esp + 0x10]
mov word [edi + 8], ax
push edx
mov byte [edi + 0xa], cl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x54], eax
je 0x4259dd
push str.GetModuleFileNameExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x50], eax
mov ecx, esi
call fcn.00425440
mov ecx, dword [esp + 0x414]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x408]
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x414
ret
Function at 0x4281b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5739
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea eax, [esp + 8]
push str.GoogleChromeUser_DataDefaultCookies
push eax
mov esi, ecx
call fcn.0049c070
add esp, 8
lea edi, [esi + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x30], 0
call dword [0x4ab944]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
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, edi
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, esi
call fcn.004480d0
test al, al
jne 0x428229
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push str.select_sql_from_sqlite_master_where_typetable_and_namecookies
mov ecx, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004481c0
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x428600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5764
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00448040
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], edi
mov dword [esi], 0x4b0f40
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov al, 1
mov ecx, esi
mov byte [esp + 0x14], al
mov dword [esi + 8], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov byte [esi + 0x28], al
call fcn.004281b0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x429bd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a58b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429c7d
push esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call dword [0x4ab278]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x429c6b
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x429c6b
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x7c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x429c90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4cbba0]
mov ecx, dword [esp + 0x118]
xor eax, esp
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x128]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x429d07
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x114]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a17d1
add esp, 0x110
ret 0xc
Function at 0x42a9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a59a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x4cbba0]
xor eax, esp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x38]
lea ecx, [esp + 8]
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
test esi, esi
mov dword [esp + 0x30], 0
lea ecx, [esp + 8]
je 0x42a9f0
push esi
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__]
jmp 0x42a9fb
push 0x4cc7a8
call dword [0x4ab944]
lea ecx, [esp + 8]
push edi
call dword [0x4ab968]
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.0042a680
add esp, 8
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
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 + 0x28]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a17d1
add esp, 0x2c
ret
Function at 0x42b3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x4cbba0]
xor eax, esp
push esi
mov esi, dword [esp + 0x60]
push edi
push 0x4acbb2
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edi, dword [esp + 0x68]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 1
call fcn.00468880
mov ecx, 0x4cc7c4
mov byte [esp + 0x5c], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [esp + 0x30]
push eax
push edi
push str.config.db
call fcn.0042aae0
add esp, 0x10
test al, al
je 0x42b461
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call dword [0x4ab944]
lea edx, [esp + 0x10]
push edx
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 + 0x2c]
mov dword [esp + 8], 1
mov byte [esp + 0x5c], 1
call fcn.004688e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 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 + 0x54]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a17d1
add esp, 0x58
ret

Function at 0x42c6b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a5c0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov eax, dword [0x4cbba0]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov esi, dword [esp + 0x81c]
mov dword [esp + 4], 0
mov dword [esp + 0x814], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x800
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x834]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x834]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x834]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [0x4ab700]
lea ecx, [esp + 0x820]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x824]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x828]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x80c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a17d1
add esp, 0x814
ret 0x10
Function at 0x42c860
Capabilities:
Get file version info

Disassembly:
sub esp, 0x210
mov eax, dword [0x4cbba0]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x220]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x218]
test eax, eax
push esi
mov esi, dword [esp + 0x220]
mov byte [esi + 3], 0
mov byte [esi + 2], 0
mov byte [esi + 1], 0
mov byte [esi], 0
jne 0x42c8bc
push 0x200
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x42c8cc
lea edx, [esp + 0x14]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42c8c2
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x18]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 8], eax
je 0x42c98e
push edi
push eax
call sub.MFC71.DLL_operator_new
mov ecx, dword [esp + 0x10]
add esp, 4
mov edi, eax
push edi
push ecx
push 0
lea edx, [esp + 0x24]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42c93d
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4ad6f0
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42c93d
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 0xa]
mov byte [esi], dl
mov cl, byte [eax + 8]
mov byte [esi + 1], cl
mov dl, byte [eax + 0xe]
mov byte [esi + 2], dl
mov al, byte [eax + 0xc]
mov byte [esi + 3], al
push edi
call sub.MFC71.DLL_operator_delete
movzx ecx, byte [esi + 3]
movzx edx, byte [esi + 2]
movzx eax, byte [esi + 1]
push ecx
movzx ecx, byte [esi]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push str._i._i._i._i
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
xor eax, eax
mov ah, byte [esi]
xor ecx, ecx
mov ch, byte [esi + 2]
add esp, 0x1c
pop edi
mov al, byte [esi + 1]
movzx edx, cx
movzx ecx, byte [esi + 3]
shl eax, 0x10
or eax, edx
or eax, ecx
mov dword [ebp], eax
mov eax, 1
jmp 0x42c990
xor eax, eax
mov ecx, dword [esp + 0x214]
pop esi
pop ebp
xor ecx, esp
call fcn.004a17d1
add esp, 0x210
ret 0x10
Function at 0x42cca0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x110
mov eax, dword [0x4cbba0]
xor eax, esp
mov ecx, 0x4cbdc0
mov dword [esp + 0x10c], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [esp + 8]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x42ccc3
push esi
push edi
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42ccd4
mov eax, dword [str.KmLiveUpdate.exe]
mov ecx, dword [0x4b1928]
mov edx, dword [0x4b192c]
mov dword [edi], eax
mov eax, dword [0x4b1930]
mov dword [edi + 4], ecx
mov cl, byte [0x4b1934]
mov dword [edi + 8], edx
push 0
lea edx, [esp + 0x14]
mov dword [edi + 0xc], eax
push edx
mov byte [edi + 0x10], cl
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x42cd42
push esi
call sub.MFC71.DLL_operator_new
mov edi, eax
add esp, 4
test edi, edi
je 0x42cd42
push edi
push esi
push 0
lea eax, [esp + 0x1c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42cd5b
push edi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004a17d1
add esp, 0x110
ret
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x4ad6f0
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42cd7d
mov eax, dword [esp + 8]
mov esi, dword [eax + 0xc]
jmp 0x42cd7f
xor esi, esi
push edi
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x118]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a17d1
add esp, 0x110
ret

Function at 0x42d6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42d751
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x42d733
cmp eax, 2
jne 0x42d743
test esi, esi
mov eax, dword [esp + 0x14]
je 0x42d74d
mov cl, byte [eax + esi - 1]
test cl, cl
je 0x42d74d
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x42db70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x408
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x10c]
push str.218.108.235.19
mov ecx, ebp
mov dword [esp + 0x418], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push str.configServer.cfg
lea eax, [esp + 0x14]
push 0x4cbdc0
mov edi, 0x1643
push eax
mov word [esi + 0x112], di
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.Port
push str.Dispatch_Server
call ebx
lea ecx, [esp + 0x10]
mov word [esi + 0x110], ax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp word [esi + 0x110], 0
je 0x42dd45
push str.configServer.cfg
lea ecx, [esp + 0x14]
push 0x4cbdc0
push ecx
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x400
lea edx, [esp + 0x1c]
push edx
push 0x4acbb2
push str.Host
push str.Dispatch_Server
call edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dc50
sub eax, edx
cmp eax, 1
lea ecx, [esi + 0x108]
jae 0x42dc77
push 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
mov word [esi + 0x110], 0x2328
jmp 0x42dc82
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push str.configServer.cfg
lea ecx, [esp + 0x14]
push 0x4cbdc0
push ecx
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push str.Port
push str.JiaFilmApp_Server
call ebx
lea ecx, [esp + 0x10]
mov word [esi + 0x112], ax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.configServer.cfg
lea edx, [esp + 0x14]
push 0x4cbdc0
push edx
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x400
lea eax, [esp + 0x1c]
push eax
push 0x4acbb2
push str.Host
push str.JiaFilmApp_Server
call edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dd10
sub eax, ecx
cmp eax, 1
jae 0x42dd36
push str.218.108.235.19
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
mov word [esi + 0x112], 0x1643
jmp 0x42dd73
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
jmp 0x42dd73
push str.disp.pipi.cn
lea ecx, [esi + 0x108]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push str.stat.pipi.cn
mov ecx, ebp
mov word [esi + 0x110], 0x2328
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
mov word [esi + 0x112], di
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x408
ret