Function at 0x4499de
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476be0
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 - 0x68]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.EleSet.dll_void___cdecl_GetINIFileName_class_CString__]
add esp, 4
mov ecx, dword [ebp - 0xa0]
add ecx, 0xa0
call dword [sym.imp.pblcdlg.dll_public:_void___thiscall_CEditMetric::CreateSpin_void_]
mov ecx, dword [ebp - 0xa0]
add ecx, 0x188
call dword [sym.imp.pblcdlg.dll_public:_void___thiscall_CEditMetric::CreateSpin_void_]
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 - 0x68]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x190
mov edx, dword [ebp - 0x70]
push edx
push 0x48add0
push 0
push 0x48addc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10], eax
push 0x48ade8
mov eax, dword [ebp - 0x70]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x449ae6
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 - 0x68]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x8c]
jmp 0x449e20
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x74], 0
mov ecx, 1
test ecx, ecx
je 0x449b5e
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
je 0x449b26
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 0x449b5c
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.0042a320
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 0x449b5c
jmp 0x449b5e
jmp 0x449af3
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.0042cf30
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
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 0x449bb6
push fcn.00407100
mov eax, dword [ebp - 0x6c]
push eax
push 8
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0041c140
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xa4], edx
jmp 0x449bc0
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 + 0x288], edx
mov dword [ebp - 0x74], 0
jmp 0x449bf4
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.0042cf30
cmp dword [ebp - 0x74], eax
jge 0x449d7f
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.0044abe0
push 0x80
lea ecx, [ebp - 0x68]
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 + 0x288]
mov ecx, dword [ebp - 0x74]
mov dword [eax + ecx*8], 0
mov dword [ebp - 0x80], 0
mov edx, 1
test edx, edx
je 0x449ce5
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x78]
movsx ecx, byte [eax]
cmp ecx, 0x30
jl 0x449cd2
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x78]
movsx eax, byte [edx]
cmp eax, 0x39
jg 0x449cd2
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x288]
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 + 0x288]
mov edx, dword [ebp - 0x74]
mov dword [eax + edx*8], ecx
jmp 0x449cda
cmp dword [ebp - 0x80], 1
jne 0x449cda
jmp 0x449ce5
mov eax, dword [ebp - 0x78]
add eax, 1
mov dword [ebp - 0x78], eax
jmp 0x449c70
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x288]
mov eax, dword [ebp - 0x74]
mov dword [edx + eax*8 + 4], 0
mov ecx, 1
test ecx, ecx
je 0x449d7a
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x78]
movsx eax, byte [edx]
cmp eax, 0x30
jl 0x449d67
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x78]
movsx edx, byte [ecx]
cmp edx, 0x39
jg 0x449d67
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x288]
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 + 0x288]
mov ecx, dword [ebp - 0x74]
mov dword [edx + ecx*8 + 4], eax
jmp 0x449d6f
cmp dword [ebp - 0x80], 1
jne 0x449d6f
jmp 0x449d7a
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
jmp 0x449d03
jmp 0x449beb
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.0044ac10
push 0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x60
call fcn.0042a2c0
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 - 0x68]
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