Function at 0x430390
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44827b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], edi
xor esi, esi
push 0x45c564
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString_4
push 0x45c564
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp + 8]
lea ecx, [ebp - 0x64]
push eax
push str.SELECT_CDSPACE__BACKCDSPACE_FROM_VOLUME_R_WHERE_VOLUME__
push ecx
mov byte [ebp - 4], 2
call sub.MFC42.DLL_operator_2
push 0x45964c
lea edx, [ebp - 0x18]
push eax
push edx
mov byte [ebp - 4], 3
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00431c10
lea eax, [ebp - 0x20]
mov ebx, 7
push eax
push 0x4592e8
push ebx
push esi
push 0x4592d8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x430db7
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
test esi, esi
jl 0x430466
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push 0x4592c8
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [eax]
call dword [edx + 8]
test esi, esi
jl 0x430db7
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00404920
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004047b0
lea ecx, [edi + 0x3c4]
mov byte [ebp - 4], 8
mov dword [ebp - 0x68], ecx
call fcn.00404b50
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
push ecx
mov ecx, eax
call fcn.004049e0
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push edx
call fcn.00404b70
lea ecx, [ebp - 0x34]
call fcn.00431c10
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 6
test eax, eax
jne 0x4304e0
push 0x80004003
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1e]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
test eax, eax
jge 0x4304fc
push 0x4592a8
push esi
push eax
call fcn.00440071
cmp word [ebp - 0x1e], 0
jne 0x430d49
push 0x45c564
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString_4
push 0x45c564
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_4
mov edi, 8
push str.CDSPACE
mov byte [ebp - 4], 0xe
mov word [ebp - 0x4c], di
call fcn.0043ff1e
test eax, eax
mov dword [ebp - 0x44], eax
jne 0x430556
mov eax, str.CDSPACE
test eax, eax
je 0x430556
push 0x8007000e
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
test eax, eax
jne 0x43056b
push 0x80004003
call fcn.00440063
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040ec60
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x10
test eax, eax
jne 0x43058d
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x24]
push edx
push eax
call fcn.0040ecb0
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x11
test eax, eax
jne 0x4305b2
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea edx, [ebp - 0x78]
push edx
call fcn.0040ed20
cmp word [eax], 1
mov byte [ebp - 4], 0x12
je 0x4306a9
push str.CDSPACE
mov word [ebp - 0x60], di
call fcn.0043ff1e
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x4305f3
mov eax, str.CDSPACE
test eax, eax
je 0x4305f3
push 0x8007000e
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x13
test eax, eax
jne 0x430608
push 0x80004003
call fcn.00440063
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040ec60
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x14
test eax, eax
jne 0x43062a
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x3c]
push edx
push eax
call fcn.0040ecb0
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x15
test eax, eax
jne 0x43064f
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea edx, [ebp - 0xb0]
push edx
call fcn.0040ed20
cmp word [eax], 0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xb0]
push eax
setne bl
call edi
test eax, eax
jge 0x43067d
push eax
call fcn.00440063
lea ecx, [ebp - 0x3c]
call fcn.00431c10
lea ecx, [ebp - 0x38]
call fcn.00431c10
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x12
push ecx
call edi
test eax, eax
jge 0x4306a1
push eax
call fcn.00440063
test bl, bl
je 0x4306af
mov bl, 1
jmp 0x4306b1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor bl, bl
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 0x11
push edx
call edi
test eax, eax
jge 0x4306c5
push eax
call fcn.00440063
lea ecx, [ebp - 0x24]
call fcn.00431c10
lea ecx, [ebp - 0x1c]
call fcn.00431c10
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
push eax
call edi
test eax, eax
jge 0x4306e9
push eax
call fcn.00440063
test bl, bl
je 0x4307ca
push str.CDSPACE
mov word [ebp - 0x4c], 8
call fcn.0043ff1e
test eax, eax
mov dword [ebp - 0x44], eax
jne 0x43071b
mov ecx, str.CDSPACE
test ecx, ecx
je 0x43071b
push 0x8007000e
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x16
test eax, eax
jne 0x430730
push 0x80004003
call fcn.00440063
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
call fcn.0040ec60
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x17
test eax, eax
jne 0x430752
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x1c]
push eax
push edx
call fcn.0040ecb0
mov esi, eax
mov eax, dword [esi]
mov bl, 0x18
test eax, eax
mov byte [ebp - 4], bl
jne 0x430778
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea eax, [ebp - 0x78]
push eax
call fcn.0040ed20
mov ecx, dword [eax + 8]
mov byte [ebp - 4], 0x19
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_2
lea edx, [ebp - 0x78]
mov byte [ebp - 4], bl
push edx
call edi
test eax, eax
jge 0x4307a6
push eax
call fcn.00440063
lea ecx, [ebp - 0x1c]
call fcn.00431c10
lea ecx, [ebp - 0x24]
call fcn.00431c10
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
push eax
call edi
test eax, eax
jge 0x4307ca
push eax
call fcn.00440063
mov ebx, 8
push str.BACKCDSPACE
mov word [ebp - 0x60], bx
call fcn.0043ff1e
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x4307f7
mov ecx, str.BACKCDSPACE
test ecx, ecx
je 0x4307f7
push 0x8007000e
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1a
test eax, eax
jne 0x43080c
push 0x80004003
call fcn.00440063
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x3c]
push edx
call fcn.0040ec60
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x1b
test eax, eax
jne 0x43082e
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x38]
push eax
push edx
call fcn.0040ecb0
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x1c
test eax, eax
jne 0x430853
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea eax, [ebp - 0xb0]
push eax
call fcn.0040ed20
cmp word [eax], 1
mov byte [ebp - 4], 0x1d
je 0x430941
push str.BACKCDSPACE
mov word [ebp - 0x4c], bx
call fcn.0043ff1e
test eax, eax
mov dword [ebp - 0x44], eax
jne 0x430897
mov ecx, str.BACKCDSPACE
test ecx, ecx
je 0x430897
push 0x8007000e
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1e
test eax, eax
jne 0x4308ac
push 0x80004003
call fcn.00440063
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
call fcn.0040ec60
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x1f
test eax, eax
jne 0x4308ce
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x1c]
push eax
push edx
call fcn.0040ecb0
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x20
test eax, eax
jne 0x4308f3
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea eax, [ebp - 0x78]
push eax
call fcn.0040ed20
cmp word [eax], 0
lea ecx, [ebp - 0x78]
push ecx
setne bl
call edi
test eax, eax
jge 0x430915
push eax
call fcn.00440063
lea ecx, [ebp - 0x1c]
call fcn.00431c10
lea ecx, [ebp - 0x24]
call fcn.00431c10
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1d
push edx
call edi
test eax, eax
jge 0x430939
push eax
call fcn.00440063
test bl, bl
je 0x430941
mov bl, 1
jmp 0x430943
xor bl, bl
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x1c
push eax
call edi
test eax, eax
jge 0x43095a
push eax
call fcn.00440063
lea ecx, [ebp - 0x38]
call fcn.00431c10
lea ecx, [ebp - 0x3c]
call fcn.00431c10
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
push ecx
call edi
test eax, eax
jge 0x43097e
push eax
call fcn.00440063
test bl, bl
je 0x430a5f
push str.BACKCDSPACE
mov word [ebp - 0x4c], 8
call fcn.0043ff1e
test eax, eax
mov dword [ebp - 0x44], eax
jne 0x4309b0
mov edx, str.BACKCDSPACE
test edx, edx
je 0x4309b0
push 0x8007000e
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x21
test eax, eax
jne 0x4309c5
push 0x80004003
call fcn.00440063
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.0040ec60
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x22
test eax, eax
jne 0x4309e7
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.0040ecb0
mov esi, eax
mov eax, dword [esi]
mov bl, 0x23
test eax, eax
mov byte [ebp - 4], bl
jne 0x430a0d
push 0x80004003
call fcn.00440063
mov ecx, dword [esi]
lea edx, [ebp - 0x78]
push edx
call fcn.0040ed20
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x24
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
push ecx
call edi
test eax, eax
jge 0x430a3b
push eax
call fcn.00440063
lea ecx, [ebp - 0x1c]
call fcn.00431c10
lea ecx, [ebp - 0x24]
call fcn.00431c10
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
push edx
call edi
test eax, eax
jge 0x430a5f
push eax
call fcn.00440063
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.MSVCRT.dll__atoi64]
push eax
call esi
mov ecx, dword [ebp - 0x34]
mov ebx, eax
push ecx
mov dword [ebp - 0x24], edx
call esi
add esp, 8
lea ecx, [ebp - 0x20]
mov esi, eax
mov edi, edx
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x430aa9
push 0x80004003
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
mov dword [ebp - 0x1c], eax
call dword [edx + 0x80]
test eax, eax
jge 0x430ac8
mov ecx, dword [ebp - 0x1c]
push 0x4592a8
push ecx
push eax
call fcn.00440071
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x430adc
push 0x80004003
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x430b0c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x24]
add ebx, eax
mov eax, dword [ebp + 0x18]
adc edx, ecx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 0x14]
add esi, edx
adc edi, eax
jmp 0x430b26
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
sub ebx, ecx
mov ecx, dword [ebp + 0x18]
sbb eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
sub esi, eax
sbb edi, ecx
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x8c], edx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x88], edx
push 0xa
mov dword [ebp - 0x84], edx
push eax
mov dword [ebp - 0x80], edx
push ecx
push ebx
mov dword [ebp - 0x7c], edx
call dword [sym.imp.MSVCRT.dll__ui64toa]
xor edx, edx
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], edx
push 0xa
mov dword [ebp - 0x9c], edx
push eax
mov dword [ebp - 0x98], edx
push edi
mov dword [ebp - 0x94], edx
push esi
mov dword [ebp - 0x90], edx
call dword [sym.imp.MSVCRT.dll__ui64toa]
add esp, 0x20
test esi, esi
jne 0x430b90
test edi, edi
je 0x430bbc
test ebx, ebx
jne 0x430b9b
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x430bbc
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0x8c]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.UPDATE_VOLUME_R_SET_CDSPACE___s_BACKCDSPACE___s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x430bd4
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x18]
push ecx
push str.UPDATE_VOLUME_R_SET_CDSPACE___s__STUDYNUM___d
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp + 0x10]
push eax
push str._WHERE_VOLUME__
push ecx
call sub.MFC42.DLL_operator_2
push 0x45964c
lea edx, [ebp + 0x1c]
mov bl, 0x25
push eax
push edx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x26
call fcn.0043f60a
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov bl, 0x27
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00404920
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call fcn.004047b0
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 0x28
call fcn.00404b50
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], bl
push ecx
mov ecx, eax
call fcn.004049e0
lea ecx, [ebp + 0x1c]
call fcn.00431c10
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 5
test eax, eax
je 0x430c71
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x430d5d
push 0x80004003
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
mov esi, eax
call dword [edx + 0x80]
test eax, eax
jge 0x430d78
push 0x4592a8
push esi
push eax
call fcn.00440071
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x430d8c
push 0x80004003
call fcn.00440063
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ecx
lea eax, [ebp + 8]
mov edx, esp
mov dword [ebp + 0x10], esp
push eax
push 0x45ac34
push edx
mov dword [ebp - 0x14], 0
call sub.MFC42.DLL_operator_2
push 2
mov ecx, edi
call fcn.004091a0
lea ecx, [ebp - 0x14]
call fcn.00431c10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18