Function at 0x485d60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566e2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x58], esi
call sub.MFC42.DLL_CObArray::CObArray
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x5c02f0]
lea ecx, [ebp - 0x3c]
push eax
push 0x5b622c
push ecx
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::Format
mov edx, dword [0x5c02f8]
lea eax, [ebp - 0x38]
push edx
push 0x5b622c
push eax
call sub.MFC42.DLL_CString::Format
mov ebx, dword [ebp + 8]
add esp, 0x18
cmp ebx, edi
jne 0x485e03
push 0x5b9e00
jmp 0x485e31
cmp ebx, 1
jne 0x485e0f
push 0x5b9df8
jmp 0x485e31
cmp ebx, 2
jne 0x485e1b
push 0x5b9df0
jmp 0x485e31
cmp ebx, 3
jne 0x485e27
push 0x5b9de8
jmp 0x485e31
cmp ebx, 4
jne 0x485e39
push 0x5b9ddc
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esi + 0x40]
push 0x12c
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x70], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x54], eax
cmp eax, edi
mov byte [ebp - 4], 5
je 0x485e67
push 0
mov ecx, eax
call fcn.0051ba70
mov edi, eax
jmp 0x485e69
xor edi, edi
mov ecx, edi
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 4
call fcn.004b9e80
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x5c]
push ecx
push 0x5b9dd0
push edx
call sub.MFC42.DLL_operator_2
push 0x5b9dcc
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
test edi, edi
je 0x485ee7
mov eax, dword [edi + 0x20]
test eax, eax
je 0x485ee7
push 0
push 0
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, 3
mov dword [ebp - 0x44], 0xffffffff
jne 0x485f3e
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x5c0340
call sub.MFC42.DLL_CString::CString_2
push 5
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x5c031c
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [0x5c02f8]
mov eax, dword [0x5c02f0]
push edx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00486e80
push eax
push 0x5c02c8
call sub.LXDataSsM.dll_Ordinal_1_8
jmp 0x485fa5
cmp ebx, 4
jne 0x485fb8
mov eax, dword [0x5c0170]
mov ecx, dword [0x5c016c]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [0x5c02f8]
push ecx
mov ecx, dword [0x5c02f0]
push eax
push ecx
push eax
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x5c0340
call sub.MFC42.DLL_CString::CString_2
push 5
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x5c031c
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [0x5c02f8]
mov eax, dword [0x5c02f0]
push edx
push eax
push 0
push 0x5c02c8
mov byte [ebp - 4], bl
call sub.LXDataSsD.dll_Ordinal_1_10
test eax, eax
mov dword [ebp - 0x44], eax
jg 0x485fb8
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x60]
jmp 0x48618f
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0xd0]
push eax
call fcn.00485800
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x54], eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_3
xor eax, eax
lea edi, [esi + 0x374]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [edi]
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx - 8]
mov ecx, edi
add eax, 0xfffffffd
push eax
push 0
push edx
call sub.MFC42.DLL_CString::Mid_1
push eax
lea eax, [ebp - 0x4c]
push 0x5c03d8
push eax
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
test ebx, ebx
je 0x486064
cmp ebx, 3
je 0x486064
cmp ebx, 4
je 0x486064
cmp ebx, 1
jne 0x486058
push 0x5b8fc0
jmp 0x486069
cmp ebx, 2
jne 0x486071
push 0x5b8fbc
jmp 0x486069
push 0x5b8fc4
lea ecx, [ebp - 0x20]
call fcn.00557276
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 3
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::Right
mov ecx, dword [0x5c0424]
call fcn.0047d480
push eax
push ecx
mov edx, esp
mov dword [ebp - 0x30], esp
push 8
push 0xa
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid_1
push ecx
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], esp
push 3
push 6
push eax
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::Mid_1
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
push 0x5c02c8
mov byte [ebp - 4], 0xc
call fcn.0046c0c0
test eax, eax
jne 0x4861e4
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x58]
push ecx
push 0x5b9dc4
push edx
call sub.MFC42.DLL_operator_2
push 0x5b92ec
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x11
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x18]
push 0x2040
push 0x5b6504
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp ebx, 3
jne 0x48616f
mov edx, dword [ebp - 0x44]
push 0x5c02c8
push edx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
call fcn.004ae5d0
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
call dword [eax + 0x60]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.0055746e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push ecx
mov bl, 0x13
mov ecx, esp
mov dword [ebp - 0x30], esp
push 3
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::Right
mov ecx, dword [0x5c0424]
call fcn.0047d480
push eax
push ecx
mov edx, esp
mov dword [ebp - 0x30], esp
push 8
push 0xa
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid_1
push ecx
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], esp
push 3
push 6
push eax
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::Mid_1
push ecx
lea edx, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x78], esp
push edx
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
push 0x5c02c8
mov byte [ebp - 4], bl
call fcn.0044e110
test eax, eax
jne 0x48628a
lea eax, [ebp - 0xa0]
push 0x58eda0
push eax
mov dword [ebp - 0xa0], 1
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004bf2a0
add esp, 8
test eax, eax
jne 0x4862c4
lea eax, [ebp - 0xa8]
push 0x58eda0
push eax
mov dword [ebp - 0xa8], 1
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
lea edx, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
mov dword [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x4c]
push eax
call fcn.004bd7e0
mov eax, dword [eax]
add esp, 8
mov edi, 0x5c0168
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x48631f
test cl, cl
je 0x48631b
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x48631f
add eax, 2
add edi, 2
test cl, cl
jne 0x4862f7
xor eax, eax
jmp 0x486324
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x4c]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4863a2
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x58]
push eax
push 0x5b9dc4
push ecx
call sub.MFC42.DLL_operator_2
push 0x5b9dbc
lea edx, [ebp + 8]
mov bl, 0x1a
push eax
push edx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1b
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
push 0x2040
push 0x5b6504
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
call dword [edx + 0x60]
jmp 0x486177
push 0xd
lea ecx, [ebp - 0x28]
call fcn.00557258
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00557258
mov edi, dword [ebp + 8]
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1d
xor ebx, ebx
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x486c99
jmp 0x4863f5
mov ebx, dword [ebp - 0x7c]
mov al, byte [ebx + eax]
cmp al, 0xa
mov byte [ebp - 0x4c], al
je 0x486c86
cmp al, 9
je 0x486c86
cmp al, 0xd
je 0x486429
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x34]
push eax
call fcn.00557258
mov ecx, dword [ebp - 0x28]
inc ebx
mov al, byte [ebx + ecx]
cmp al, 0xd
mov byte [ebp - 0x4c], al
jne 0x48640f
push ecx
lea edx, [ebp - 0x34]
inc ebx
mov ecx, esp
mov dword [ebp - 0x40], esp
push edx
mov dword [ebp - 0x7c], ebx
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x88]
push eax
call fcn.004bd7e0
add esp, 8
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1e
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x486478
cmp byte [eax], 0x27
je 0x48647a
test ecx, ecx
jne 0x486487
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::Empty
jmp 0x486c8a
xor ebx, ebx
test ecx, ecx
jle 0x4864b8
mov cl, byte [ebx + eax]
cmp cl, 0x3b
je 0x4864b8
cmp cl, 0x27
je 0x4864b8
mov byte [ebp - 0x8c], cl
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00557258
mov eax, dword [ebp - 0x34]
inc ebx
cmp ebx, dword [eax - 8]
jl 0x48648d
cmp ebx, dword [eax - 8]
jge 0x4864c9
mov al, byte [ebx + eax]
xor ebx, ebx
cmp al, 0x3b
sete bl
jmp 0x4864cb
xor ebx, ebx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::Empty
test ebx, ebx
jne 0x486c8a
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x40], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x94]
push eax
call fcn.004bd7e0
mov ecx, dword [eax]
add esp, 8
mov edx, dword [ecx - 8]
lea ecx, [ebp - 0x94]
test edx, edx
setg bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x486c7c
mov eax, dword [ebp - 0x64]
test eax, eax
mov eax, dword [ebp + 8]
jne 0x48678a
cmp eax, 4
ja case.default.0x48652d
jmp dword [eax*4 + 0x486e4c]
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x5c0340
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.19980501
call fcn.0055734e
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
mov byte [ebp - 4], 0x20
push edx
jmp 0x48670e
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x98]
push ecx
call fcn.004bd7e0
add esp, 8
mov edx, dword [eax]
mov byte [ebp - 4], 0x21
cmp byte [edx], 0x7b
jne 0x486606
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0xac]
push ecx
call fcn.004bd7e0
mov edx, dword [eax]
add esp, 4
lea eax, [ebp - 0x14]
mov ecx, esp
mov edi, dword [edx - 8]
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0x22
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x90]
push ecx
call fcn.004bd7e0
mov edx, dword [eax]
add esp, 8
mov cl, byte [edi + edx - 1]
cmp cl, 0x7d
lea ecx, [ebp - 0x90]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x21
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x486606
mov bl, 1
jmp 0x486608
xor bl, bl
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::CString
push ecx
test bl, bl
mov ecx, esp
je 0x48664c
mov dword [ebp - 0x24], esp
push str.19980501
call fcn.0055734e
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 0x23
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXLogic.dll_Ordinal_2_2
jmp 0x48671c
mov dword [ebp - 0x24], esp
push str.19980501
call fcn.0055734e
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
mov byte [ebp - 4], 0x24
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXCalcChk.dll_Ordinal_1_3
jmp 0x48671c
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.19980501
call fcn.0055734e
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 0x25
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXAudiChk.dll_Ordinal_1_5
jmp 0x48671c
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5c0340
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.19980501
call fcn.0055734e
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x40], esp
mov byte [ebp - 4], 0x27
push edx
jmp 0x48670e
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5c0340
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.19980501
call fcn.0055734e
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x40], esp
mov byte [ebp - 4], 0x29
push eax
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXGetDataChk.dll_Ordinal_1_4
mov edi, eax
mov ecx, dword [ebp - 0x60]
inc ecx
test edi, edi
mov dword [ebp - 0x60], ecx
jle 0x486c7c
lea ecx, [ebp - 0x1c]
push 0x5b9da0
lea edx, [ebp - 0x84]
push ecx
push edx
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2a
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
push 0x2014
push 0x5b6164
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x486cf8
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Empty
jmp 0x486c8a
cmp eax, 4
ja case.default.0x486793
jmp dword [eax*4 + 0x486e60]
push 0x5c02c8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5c0340
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x37c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
mov byte [ebp - 4], 0x2b
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x36c]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
mov byte [ebp - 4], 0x2c
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x370]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
mov byte [ebp - 4], 0x2d
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x2e
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
lea eax, [esi + 0x338]
lea edx, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push edx
mov byte [ebp - 4], 0x2f
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXGetData.dll_Ordinal_1_1
jmp 0x486c2a
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x30]
push ecx
call fcn.004bd7e0
add esp, 8
mov edx, dword [eax]
mov byte [ebp - 4], 0x30
cmp byte [edx], 0x7b
jne 0x4868bb
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x74]
push ecx
call fcn.004bd7e0
mov edx, dword [eax]
add esp, 4
lea eax, [ebp - 0x14]
mov ecx, esp
mov edi, dword [edx - 8]
mov dword [ebp - 0x48], esp
push eax
mov byte [ebp - 4], 0x31
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x78]
push ecx
call fcn.004bd7e0
mov edx, dword [eax]
add esp, 8
mov cl, byte [edi + edx - 1]
cmp cl, 0x7d
lea ecx, [ebp - 0x78]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x30
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4868bb
mov bl, 1
jmp 0x4868bd
xor bl, bl
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::CString
push 0x5c02c8
push 0
push ecx
lea eax, [esi + 0x37c]
test bl, bl
mov ecx, esp
je 0x486968
mov dword [ebp - 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x374]
mov ecx, esp
mov dword [ebp - 0x68], esp
push edx
mov byte [ebp - 4], 0x32
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x36c]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
mov byte [ebp - 4], 0x33
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x370]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
mov byte [ebp - 4], 0x34
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
lea eax, [esi + 0x338]
lea edx, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push edx
mov byte [ebp - 4], 0x36
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXLogic.dll_Ordinal_1_9
jmp 0x486c2a
mov dword [ebp - 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x36c]
mov ecx, esp
mov dword [ebp - 0x68], esp
push edx
mov byte [ebp - 4], 0x37
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x370]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
mov byte [ebp - 4], 0x38
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x338]
lea edx, [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
mov byte [ebp - 4], 0x3a
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXCalc.dll_Ordinal_1
jmp 0x486c2a
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4869eb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4869ed
xor eax, eax
push eax
push 0x5c02c8
push 0
push ecx
lea eax, [esi + 0x37c]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x368]
mov ecx, esp
mov dword [ebp - 0x68], esp
push edx
mov byte [ebp - 4], 0x3b
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x36c]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
mov byte [ebp - 4], 0x3c
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x370]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
mov byte [ebp - 4], 0x3d
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x3e
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0xc0]
push eax
lea edx, [esi + 0x338]
push ecx
push edx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
mov byte [ebp - 4], 0x3f
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXAudi.dll_Ordinal_1_2
mov ecx, dword [ebp - 0x80]
mov edi, eax
add dword [ebp - 0x5c], ecx
jmp case.default.0x486793
mov edx, dword [ebp - 0x44]
push 0x5c02c8
push edx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x5c0340
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x37c]
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
mov byte [ebp - 4], 0x40
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x36c]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
mov byte [ebp - 4], 0x41
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0x42
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
mov byte [ebp - 4], 0x43
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x370]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
mov byte [ebp - 4], 0x44
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0x9c], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x338]
lea edx, [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
push edx
mov byte [ebp - 4], 0x46
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXGetDataSsM.dll_Ordinal_1_7
jmp 0x486c2a
mov eax, dword [0x5c0170]
mov ecx, dword [0x5c016c]
mov edx, dword [ebp - 0x44]
push eax
push ecx
push 0x5c02c8
push edx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0x5c0340
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x37c]
mov ecx, esp
mov dword [ebp - 0x9c], esp
push eax
mov byte [ebp - 4], 0x47
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esi + 0x36c]
mov ecx, esp
mov dword [ebp - 0x48], esp
push edx
mov byte [ebp - 4], 0x48
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
mov byte [ebp - 4], 0x49
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
mov byte [ebp - 4], 0x4a
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0x370]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0x4b
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x4c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x338]
lea edx, [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push edx
mov byte [ebp - 4], 0x4d
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0x1d
call sub.LXGetDataSsD.dll_Ordinal_1_11
mov edi, eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
inc ecx
test eax, eax
mov dword [ebp - 0x70], ecx
jle 0x486c7c
fild dword [ebp - 0x70]
cmp dword [ebp + 8], 3
fidiv dword [ebp - 0x60]
je 0x486c4e
fmul qword [0x57f528]
jmp 0x486c5a
fmul qword [0x585140]
fadd qword [0x585138]
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x486c7c
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x486c7c
push 0
push eax
push 0x407
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Empty
jmp 0x486c8a
inc ebx
mov dword [ebp - 0x7c], ebx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax - 8]
jl 0x4863f2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x64]
inc eax
cmp eax, 2
mov dword [ebp - 0x64], eax
jl 0x4863c0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
call dword [edx + 0x60]
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x486d4e
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x486d7c
push 0x2040
push 0x5b9d98
push 0x5b9d80
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x486d7c
mov eax, dword [ebp + 8]
cmp eax, 3
je 0x486d05
cmp eax, 4
jne 0x486d29
mov edx, dword [ebp - 0x44]
push 0x5c02c8
push edx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
call fcn.004ae5d0
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
call dword [eax + 0x60]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
jmp 0x486177
cmp eax, 3
je 0x486d58
cmp eax, 4
jne 0x486d7c
mov eax, dword [ebp - 0x44]
push 0x5c02c8
push eax
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
call fcn.004ae5d0
mov edi, dword [ebp - 0x58]
push 1
push 0
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [ebp - 0x54]
mov ecx, edi
push edx
call fcn.00485a90
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x64]
push 0
push 0
push 0
mov ecx, esi
call sub.MFC42.DLL_CDocument::UpdateAllViews
jmp 0x486177