Function at 0x612730
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x409b46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x405678
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
mov ecx, dword [ebp - 0x38]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
push ecx
push 0x45c02c
call edi
mov edx, dword [ebp + 8]
test eax, eax
mov edx, dword [edx]
jne 0x612aff
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x3c]
push eax
push 0x45e344
call edi
test eax, eax
mov eax, dword [0x69cc38]
jne 0x612965
test eax, eax
jne 0x6127df
push 0x69cc38
push 0x45dde4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x69cc38]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x612804
push 0x14
push 0x45ddd4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x612828
push 0x50
push 0x45ddf4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x466740
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
push 0x466724
call edi
mov ecx, dword [ebp + 0x14]
mov edx, eax
call esi
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 3
call dword [fcn.00401324]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x69cc38]
test eax, eax
jne 0x612898
push 0x69cc38
push 0x45dde4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x69cc38]
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
fnclex
jge 0x6128bd
push 0x14
push 0x45ddd4
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov edx, dword [eax]
mov ebx, eax
call dword [edx + 0x50]
test eax, eax
fnclex
jge 0x6128e1
push 0x50
push 0x45ddf4
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x14]
push edx
push 0x466740
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [ebx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
push 0x466758
call edi
mov ecx, dword [ebp + 0x18]
mov edx, eax
call esi
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push edx
push eax
push 3
call dword [fcn.00401324]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ecx, dword [ebx]
push 0x466768
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
push 0x4667b4
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, eax
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x612ec9
jmp 0x612eb1
test eax, eax
jne 0x612979
push 0x69cc38
push 0x45dde4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x69cc38]
lea eax, [ebp - 0x24]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x61299e
push 0x14
push 0x45ddd4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x6129c2
push 0x50
push 0x45ddf4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x4667d8
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
push 0x466724
call edi
mov ecx, dword [ebp + 0x14]
mov edx, eax
call esi
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 3
call dword [fcn.00401324]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x69cc38]
test eax, eax
jne 0x612a32
push 0x69cc38
push 0x45dde4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x69cc38]
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
fnclex
jge 0x612a57
push 0x14
push 0x45ddd4
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov edx, dword [eax]
mov ebx, eax
call dword [edx + 0x50]
test eax, eax
fnclex
jge 0x612a7b
push 0x50
push 0x45ddf4
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x14]
push edx
push 0x4667d8
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [ebx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
push 0x466758
call edi
mov ecx, dword [ebp + 0x18]
mov edx, eax
call esi
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push edx
push eax
push 3
call dword [fcn.00401324]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ecx, dword [ebx]
push 0x4667f0
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
push 0x4667b4
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, eax
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x612ec9
jmp 0x612eb1
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x40]
push eax
push 0x45e344
call edi
test eax, eax
mov eax, dword [0x69cc38]
jne 0x612cb6
test eax, eax
jne 0x612b34
push 0x69cc38
push 0x45dde4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x69cc38]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x612b59
push 0x14
push 0x45ddd4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x612b7d
push 0x50
push 0x45ddf4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x46683c
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
mov eax, dword [ebx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x466850
call edi
mov ecx, dword [ebp + 0x14]
mov edx, eax
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
push 4
call dword [fcn.00401324]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x69cc38]
test eax, eax
jne 0x612bfe
push 0x69cc38
push 0x45dde4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x69cc38]
lea eax, [ebp - 0x24]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x612c23
push 0x14
push 0x45ddd4
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov ebx, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x612c47
push 0x50
push 0x45ddf4
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
push eax
push 0x46683c
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ebx, dword [ebp + 0xc]
push eax
mov ecx, dword [ebx]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [edx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x466860
call edi
mov ecx, dword [ebp + 0x18]
mov edx, eax
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
push 4
call dword [fcn.00401324]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x466768
jmp 0x612e47
test eax, eax
jne 0x612cca
push 0x69cc38
push 0x45dde4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x69cc38]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x612cef
push 0x14
push 0x45ddd4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x612d13
push 0x50
push 0x45ddf4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x466870
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
mov eax, dword [ebx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x466850
call edi
mov ecx, dword [ebp + 0x14]
mov edx, eax
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
push 4
call dword [fcn.00401324]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x69cc38]
test eax, eax
jne 0x612d94
push 0x69cc38
push 0x45dde4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x69cc38]
lea eax, [ebp - 0x24]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x612db9
push 0x14
push 0x45ddd4
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov ebx, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x612ddd
push 0x50
push 0x45ddf4
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
push eax
push 0x466870
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ebx, dword [ebp + 0xc]
push eax
mov ecx, dword [ebx]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [edx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x466860
call edi
mov ecx, dword [ebp + 0x18]
mov edx, eax
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
push 4
call dword [fcn.00401324]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x4667f0
mov edx, dword [ebx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
push eax
push 0x4667b4
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, eax
call esi
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
push edx
push eax
push 2
call dword [fcn.00401324]
add esp, 0xc
push 0x612ec9
jmp 0x612eb1
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x38]
push eax
push ecx
push 3
call dword [fcn.00401324]
add esp, 0x10
ret