Function at 0x1001b9f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d750b
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 2
mov edi, ecx
je 0x1001ba48
mov esi, dword [sym.imp.szutils.dll_public:_unsigned_long_int___thiscall_TCommon::TBuffer::GetLength_void_const]
lea ecx, [edi + 0x14c]
call esi
test eax, eax
je 0x1001ba48
lea ecx, [edi + 0x138]
call esi
test eax, eax
jne 0x1001bd95
lea ecx, [ebp - 0x514]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_]
mov dword [ebp - 4], 0
mov ebx, vtable.DuiLib::CDuiAuthLetter.3.0
mov esi, vtable.DuiLib::CDuiAuthLetter.4.0
lea ecx, [ebp - 0x5c]
mov dword [ebp - method.DuiLib::CDuiAuthLetter.virtual_0], vtable.DuiLib::CDuiAuthLetter.0
mov dword [ebp - method.DuiLib::CDuiAuthLetter.1.virtual_0], vtable.DuiLib::CDuiAuthLetter.1.0
mov dword [ebp - method.DuiLib::CDuiAuthLetter.2.virtual_0], vtable.DuiLib::CDuiAuthLetter.2.0
mov dword [ebp - 0x4f0], ebx
mov dword [ebp - 0x4ec], esi
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_CWndShadow::constructor_void_]
mov dword [ebp - 0x14], 0
push 0
push Ordinal_1
push Ordinal_1
push Ordinal_1
push Ordinal_1
push 0
push 0x96c80000
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
push str.AUTH_PDF_VIEW
push eax
lea ecx, [ebp - 0x514]
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
lea ecx, [ebp - 0x514]
call dword [sym.imp.DuiLib_u.dll_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_]
cmp eax, 1
je 0x1001bb4e
push str._u7b
lea ecx, [edi + 0xc]
call dword [0x101d9b14]
mov dword [ebp - method.DuiLib::CDuiAuthLetter.virtual_0], vtable.DuiLib::CDuiAuthLetter.0
mov dword [ebp - method.DuiLib::CDuiAuthLetter.1.virtual_0], vtable.DuiLib::CDuiAuthLetter.1.0
mov dword [ebp - method.DuiLib::CDuiAuthLetter.2.virtual_0], vtable.DuiLib::CDuiAuthLetter.2.0
mov dword [ebp - 0x4f0], ebx
mov dword [ebp - 0x4ec], esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call dword [sym.imp.DuiLib_u.dll_public_virtual:_void___thiscall_CWndShadow::destructor_void_]
lea ecx, [ebp - 0x514]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::destructor_void_]
mov eax, 0x4000010
jmp 0x1001bd97
test byte [0x10268890], 1
jne 0x1001bb8b
or dword [0x10268890], 1
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
mov ecx, 0x10268778
call esi
mov ecx, 0x10268804
mov byte [ebp - 4], 4
call esi
push 0x101d8be0
call fcn.101cebcb
add esp, 4
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
mov ecx, 0x10268778
call ebx
push eax
push 0
push str.WirtePad
push str.PDFSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x1001bbd6
push 0x1338
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
mov dword [ebp - 0x520], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1001bc28
push 0
push eax
call fcn.1000b4e0
jmp 0x1001bc2a
cmp eax, 2
jne 0x1001bc01
push 0xd18
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
mov dword [ebp - 0x520], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1001bc28
push 0
push eax
call fcn.1000c230
jmp 0x1001bc2a
push 0xc58
call dword [sym.imp.mfc100u.dll_new]
mov esi, eax
add esp, 4
mov dword [ebp - 0x520], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x1001bc28
xor eax, eax
call fcn.1000d2c0
jmp 0x1001bc2a
xor eax, eax
push 0
push Ordinal_1
push Ordinal_1
push Ordinal_1
push Ordinal_1
push 0
push 0x96c80000
mov byte [ebp - 4], 1
mov ecx, dword [edi + 8]
push str.SZCA_HWP
mov esi, eax
push ecx
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_]
cmp eax, 2
jne 0x1001bca5
push str._u7b
lea ecx, [edi + 0xc]
call dword [0x101d9b14]
test esi, esi
je 0x1001bc88
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, esi
call eax
lea ecx, [ebp - 0x514]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.100077a0
mov eax, 0x4000010
jmp 0x1001bd97
cmp eax, 0xffffffff
jne 0x1001bce8
lea ecx, [esi + 0xb98]
call ebx
push eax
lea ecx, [edi + 0xc]
call dword [0x101d9b14]
test esi, esi
je 0x1001bccb
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, esi
call eax
lea ecx, [ebp - 0x514]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.100077a0
mov eax, 0x4000022
jmp 0x1001bd97
mov ebx, dword [esi + 0xb8c]
xor eax, eax
mov dword [ebp - 0x518], eax
mov dword [ebp - 0x51c], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
push 4
lea eax, [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x518]
push ecx
mov ecx, ebx
call edx
test eax, eax
je 0x1001bd4f
lea ecx, [edi + 0x14c]
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TBuffer::Empty_void_]
mov eax, dword [ebp - 0x51c]
mov ecx, dword [ebp - 0x518]
push eax
push ecx
lea ecx, [edi + 0x14c]
call dword [sym.imp.szutils.dll_public:_int___thiscall_TCommon::TBuffer::Append_unsigned_char_const___unsigned_long_int_]
mov edx, dword [ebx]
mov eax, dword [ebp - 0x518]
mov edx, dword [edx + 0x24]
push eax
mov ecx, ebx
call edx
mov eax, dword [esi + 0xc24]
lea ebx, [edi + 0x138]
mov ecx, ebx
mov dword [edi + 0x160], eax
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TBuffer::Empty_void_]
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
push ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 1
mov ecx, esi
call edx
lea eax, [ebp - 0x514]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.100077a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret 0xc