Function at 0x5094c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x404936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x404160
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xec], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x130], esi
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov edx, 0x4212dc
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew]
push 0x42ccf8
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
push 0x51e0fc
call ebx
push 0x42cd28
call edi
push eax
lea eax, [ebp - 0x28]
push eax
call ebx
mov ecx, dword [0x51e0fc]
lea edx, [ebp - 0x11c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
cmp dword [0x51f720], esi
jne 0x5095c9
push 0x51f720
push 0x421974
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x51f720]
lea ecx, [ebp - 0x44]
push ecx
push edi
mov eax, dword [edi]
call dword [eax + 0x14]
cmp eax, esi
fnclex
jge 0x5095ee
push 0x14
push 0x421964
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov edx, dword [eax]
mov edi, eax
call dword [edx + 0x50]
cmp eax, esi
fnclex
jge 0x509612
push 0x50
push 0x421984
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x38]
push 0x42cd3c
push eax
mov ebx, dword [edx]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x3c]
call edi
push eax
push 0x42cde4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x40]
call edi
mov ecx, dword [ebp - 0x11c]
push eax
push ecx
call dword [ebx + 0x24]
cmp eax, esi
fnclex
jge 0x50966f
mov edx, dword [ebp - 0x11c]
push 0x24
push 0x42ce0c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x38]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [ebp - 0x11c]
push 0xffffffffffffffff
push 0x4212dc
push 0x4212dc
mov ecx, dword [eax]
push 0x4212dc
push eax
call dword [ecx + 0x50]
cmp eax, esi
fnclex
jge 0x5096c7
mov edx, dword [ebp - 0x11c]
push 0x50
push 0x42ce0c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x11c]
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
call fcn.0050a8c0
mov byte [ebp - 0x18], al
call fcn.0050a980
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrUI1]
mov byte [ebp - 0x20], al
mov ecx, dword [ebp - 0x20]
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
cmp eax, 1
jne 0x50971d
mov eax, dword [ebp - 0x14]
push 0x4219ec
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
call fcn.0050a5b0
mov byte [ebp - 0x2c], al
call fcn.0050a7d0
mov byte [ebp - 0x30], al
call fcn.0050aa40
mov ecx, dword [ebp - 0x18]
mov esi, 8
push ecx
mov byte [ebp - 0x1c], al
mov dword [ebp - 0xa8], 0x42ef30
mov dword [ebp - 0xb0], esi
call ebx
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
mov edx, dword [ebp - 0x14]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x70]
push eax
push ecx
mov dword [ebp - 0x60], esi
call dword [sym.imp.MSVBVM60.DLL_rtcVarStrFromVar]
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x80]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea ecx, [ebp - 0xb0]
lea edx, [ebp - 0x80]
push ecx
lea eax, [ebp - 0x90]
push edx
push eax
mov dword [ebp - 0xb8], 0x42ef9c
mov dword [ebp - 0xc0], esi
call ebx
lea ecx, [ebp - 0xc0]
push eax
lea edx, [ebp - 0xa0]
push ecx
push edx
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x90]
push eax
lea edx, [ebp - 0x80]
push ecx
lea eax, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x60]
push eax
push ecx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edx, dword [ebp - 0x28]
add esp, 0x18
lea eax, [ebp - 0x120]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov eax, dword [0x51e0fc]
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x120]
mov ecx, 9
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xb0], esi
mov edi, dword [edi]
push 0xffffffffffffffff
push 3
push 2
sub esp, 0x10
mov ebx, esp
sub esp, 0x10
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xbc]
mov dword [ebx + 4], ecx
mov ecx, esp
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x120]
push eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xa4]
mov dword [ecx + 0xc], edx
call dword [edi + 0xa0]
test eax, eax
fnclex
jge 0x5098a6
mov ecx, dword [ebp - 0x120]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xa0
push 0x42eb0c
push ecx
push eax
call ebx
jmp 0x5098ac
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0xe4]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
test eax, eax
fnclex
jge 0x5098d6
mov edx, dword [ebp - 0x120]
push 0x50
push 0x42eb0c
push edx
push eax
call ebx
cmp word [ebp - 0xe4], 0
jne 0x50a3b7
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x509911
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call ebx
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42ec20
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x50996b
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call ebx
jmp 0x509971
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x509991
push 0x34
push 0x42eb40
push esi
push eax
call ebx
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x44]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
add esp, 0xc
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0xb0]
mov edi, 0x8002
push ecx
push edx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb0], edi
call esi
test ax, ax
je 0x509aed
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xffffffff
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x509a22
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call ebx
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42edd0
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x509a7c
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call ebx
jmp 0x509a82
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x509aa2
push 0x34
push 0x42eb40
push esi
push eax
call ebx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI4ErrVar]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
push eax
lea edx, [ebp - 0xec]
push ecx
push edx
call fcn.00508ec0
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x44]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
jmp 0x50a385
lea edx, [ebp - 0x130]
lea eax, [ebp - 0xb0]
push edx
push eax
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0xb0], edi
call esi
test ax, ax
je 0x509bcb
mov al, byte [ebp - 0x2c]
xor ecx, ecx
cmp al, 7
sete cl
xor edx, edx
cmp al, 6
sete dl
or ecx, edx
jne 0x50a385
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xffffffff
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x509b6a
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call ebx
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42edd0
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x509df2
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call ebx
jmp 0x509df8
lea edx, [ebp - 0x130]
lea eax, [ebp - 0xb0]
push edx
push eax
mov dword [ebp - 0xa8], 2
mov dword [ebp - 0xb0], edi
call esi
test ax, ax
je 0x509ca3
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x509c1b
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call ebx
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42ea3c
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x509c75
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call ebx
jmp 0x509c7b
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x509c9b
push 0x34
push 0x42eb40
push esi
push eax
call ebx
mov dl, byte [ebp - 0x2c]
jmp 0x509d76
lea edx, [ebp - 0x130]
lea eax, [ebp - 0xb0]
push edx
push eax
mov dword [ebp - 0xa8], 3
mov dword [ebp - 0xb0], edi
call esi
test ax, ax
je 0x509e16
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x509cf3
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call ebx
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42ea64
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x509d4d
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call ebx
jmp 0x509d53
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x509d73
push 0x34
push 0x42eb40
push esi
push eax
call ebx
mov dl, byte [ebp - 0x1c]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0xc0]
push eax
push ecx
mov byte [ebp - 0xb8], dl
mov dword [ebp - 0xc0], 0x8011
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov si, ax
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x44]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
test si, si
je 0x50a385
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xffffffff
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x509b6a
jmp 0x509b59
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x509aa2
jmp 0x509a97
lea edx, [ebp - 0x130]
lea eax, [ebp - 0xb0]
push edx
push eax
mov dword [ebp - 0xa8], 4
mov dword [ebp - 0xb0], edi
call esi
test ax, ax
je 0x50a385
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x509e66
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call ebx
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42ec4c
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x509ec0
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call edi
jmp 0x509ec6
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x509ee6
push 0x34
push 0x42eb40
push esi
push eax
call edi
mov dl, byte [ebp - 0x30]
mov eax, dword [ebp - 0x120]
mov byte [ebp - 0xb8], dl
lea edx, [ebp - 0x4c]
mov dword [ebp - 0xc0], 0x8011
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x509f20
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call edi
lea ebx, [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x42ea64
push eax
mov esi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0xcc]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x509f6e
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call ebx
jmp 0x509f74
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x80]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x509f94
push 0x34
push 0x42eb40
push esi
push eax
call ebx
mov dl, byte [ebp - 0x1c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
lea eax, [ebp - 0x60]
mov byte [ebp - 0xd8], dl
lea ecx, [ebp - 0xc0]
push eax
lea edx, [ebp - 0x70]
push ecx
push edx
mov dword [ebp - 0xe0], 0x8011
call esi
push eax
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0xe0]
push eax
lea edx, [ebp - 0x90]
push ecx
push edx
call esi
push eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
lea ecx, [ebp - 0x50]
mov esi, eax
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x44]
push eax
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x60]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x20
test si, si
je 0x50a385
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xffffffff
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x50a059
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call ebx
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42edd0
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x50a0b3
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call edi
jmp 0x50a0b9
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x50a0d9
push 0x34
push 0x42eb40
push esi
push eax
call edi
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI4ErrVar]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
push eax
lea edx, [ebp - 0xec]
push ecx
push edx
call fcn.00508ec0
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x44]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [ebp - 0x24]
push edx
push 0x4212dc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x50a257
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x44]
mov dword [ebp - 0xb8], 0x42efd4
mov dword [ebp - 0xc0], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x50a171
mov ecx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push ecx
push eax
call edi
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42edd0
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x50a1cb
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call ebx
jmp 0x50a1d1
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x70]
push edx
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x60], 9
call dword [sym.imp.MSVBVM60.DLL_rtcVarStrFromVar]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x80]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x80]
push eax
lea edx, [ebp - 0x90]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x80]
push eax
lea edx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x60]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x50a385
mov ecx, dword [ebp - 0x24]
push ecx
push 0x42eff0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x90], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x50a29d
mov edx, dword [ebp - 0x120]
push 0x54
push 0x42eb0c
push edx
push eax
call edi
lea ebx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xb0], edx
mov ebx, esp
mov ecx, 0x42edd0
mov dword [ebp - 0xa8], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xac]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x50a2f7
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x42eb30
push esi
push eax
call ebx
jmp 0x50a2fd
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x70]
push edx
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x60], 9
call dword [sym.imp.MSVBVM60.DLL_rtcVarStrFromVar]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x80]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x80]
push eax
lea edx, [ebp - 0xa0]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x80]
push eax
lea edx, [ebp - 0x90]
push ecx
lea eax, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x60]
push eax
push ecx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
mov eax, dword [ebp - 0x120]
push eax
mov edx, dword [eax]
call dword [edx + 0x90]
test eax, eax
fnclex
jge 0x5098ac
mov ecx, dword [ebp - 0x120]
push 0x90
push 0x42eb0c
push ecx
push eax
call ebx
jmp 0x5098ac
mov eax, dword [ebp - 0x120]
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
test eax, eax
fnclex
jge 0x50a3e0
mov ecx, dword [ebp - 0x120]
push 0x80
push 0x42eb0c
push ecx
push eax
call ebx
lea edx, [ebp - 0x120]
push 0
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov eax, dword [ebp - 0x24]
push eax
push 0x4212dc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x50a4d1
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0xb8], 0x42f014
mov dword [ebp - 0xc0], 8
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xb0], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0x60]
push ecx
lea eax, [ebp - 0x70]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x60]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x58], 0x80020004
mov dword [ebp - 0x60], 0xa
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
mov eax, dword [0x51e0fc]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
push 0xffffffffffffffff
push edx
mov edx, dword [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
fnclex
jge 0x50a4bf
mov ecx, dword [0x51e0fc]
push 0x40
push 0x42ce0c
push ecx
push eax
call ebx
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push 0x42cd18
push 0
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea edx, [ebp - 0x28]
push eax
push edx
call edi
push 0x42cce8
push 0
call esi
push eax
push 0x51e0fc
call edi
push 0x50a59b
jmp 0x50a557
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x11c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x34]
call esi
ret