Function at 0x4404fa
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4627cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xa0]
call sub.MFC42.DLL_CDialog::OnInitDialog
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.EleSet.dll_void___cdecl_GetINIFileName_class_CString__]
add esp, 4
push 0x190
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x70], ecx
push 0x80
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x190
mov edx, dword [ebp - 0x70]
push edx
push 0x4742b4
push 0
push 0x4742c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10], eax
push 0x4742cc
mov eax, dword [ebp - 0x70]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x4405de
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x8c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x8c]
jmp 0x440918
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x74], 0
mov ecx, 1
test ecx, ecx
je 0x440656
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
je 0x44061e
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ebp + ecx - 0x64], al
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x440654
mov eax, dword [ebp - 0x74]
mov byte [ebp + eax - 0x64], 0
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.00425270
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x440654
jmp 0x440656
jmp 0x4405eb
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.00427e60
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
shl edx, 3
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x94], 0
je 0x4406ae
push fcn.00440170
mov eax, dword [ebp - 0x68]
push eax
push 8
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0041ba40
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xa4], edx
jmp 0x4406b8
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x90]
mov dword [ecx + 0x138], edx
mov dword [ebp - 0x74], 0
jmp 0x4406ec
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.00427e60
cmp dword [ebp - 0x74], eax
jge 0x440877
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.004416e0
push 0x80
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x190
mov eax, dword [ebp - 0x70]
push eax
push str.NOT_FOUND
lea ecx, [ebp - 0x64]
push ecx
push str.Paper_Size
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x138]
mov ecx, dword [ebp - 0x74]
mov dword [eax + ecx*8], 0
mov dword [ebp - 0x80], 0
mov edx, 1
test edx, edx
je 0x4407dd
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x78]
movsx ecx, byte [eax]
cmp ecx, 0x30
jl 0x4407ca
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x78]
movsx eax, byte [edx]
cmp eax, 0x39
jg 0x4407ca
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x138]
mov eax, dword [ebp - 0x74]
mov ecx, dword [edx + eax*8]
imul ecx, ecx, 0xa
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x78]
movsx eax, byte [edx]
lea ecx, [ecx + eax - 0x30]
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x138]
mov edx, dword [ebp - 0x74]
mov dword [eax + edx*8], ecx
jmp 0x4407d2
cmp dword [ebp - 0x80], 1
jne 0x4407d2
jmp 0x4407dd
mov eax, dword [ebp - 0x78]
add eax, 1
mov dword [ebp - 0x78], eax
jmp 0x440768
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x138]
mov eax, dword [ebp - 0x74]
mov dword [edx + eax*8 + 4], 0
mov ecx, 1
test ecx, ecx
je 0x440872
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x78]
movsx eax, byte [edx]
cmp eax, 0x30
jl 0x44085f
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x78]
movsx edx, byte [ecx]
cmp edx, 0x39
jg 0x44085f
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x138]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + edx*8 + 4]
imul eax, eax, 0xa
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x78]
movsx edx, byte [ecx]
lea eax, [eax + edx - 0x30]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ebp - 0x74]
mov dword [edx + ecx*8 + 4], eax
jmp 0x440867
cmp dword [ebp - 0x80], 1
jne 0x440867
jmp 0x440872
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
jmp 0x4407fb
jmp 0x4406e3
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 2
push 0x99e9
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::LoadStringA
push 0x80
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.00441710
push 0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.00425210
push 0x3fa
mov ecx, dword [ebp - 0xa0]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetFocus
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret