Function at 0x5188f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402ec6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402978
xor eax, eax
cmp word [0x55af5a], ax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x180], eax
jne 0x51a5a4
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0x5c]
push eax
push 0x559bd8
push ecx
mov dword [ebp - 0xf4], 0x40b350
mov dword [ebp - 0x104], 0x40b3a4
call esi
push eax
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x6c]
push edx
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ebx, [ebp - 0x48]
mov ecx, 0xa
push ebx
mov dword [ebp - 0x11c], ecx
sub esp, 0x10
mov esi, ecx
mov ebx, esp
mov eax, 0x80020004
sub esp, 0x10
mov dword [ebp - 0x114], eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x118]
mov edx, eax
mov dword [ebp - 0xfc], 3
mov dword [ebx + 4], ecx
mov ecx, esp
mov dword [ebp - 0x104], edx
sub esp, 0x10
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xf4], 4
mov edi, dword [0x559224]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x108]
mov dword [ecx], esi
mov dword [ebp - 0x10c], esi
mov edi, dword [edi]
mov dword [ecx + 4], eax
mov eax, esp
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x100]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xf0]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x44]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
mov edx, dword [0x559224]
push eax
push edx
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x518ae9
mov ecx, dword [0x559224]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x4070f0
push ecx
push eax
call esi
jmp 0x518aef
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x559244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x559244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x518b37
mov edx, dword [0x559244]
push 0x20
push 0x407100
push edx
push eax
call esi
mov eax, dword [0x559244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x518b60
mov ecx, dword [0x559244]
push 0x34
push 0x407100
push ecx
push eax
call esi
xor edx, edx
cmp word [ebp - 0x144], dx
sete dl
xor eax, eax
cmp word [ebp - 0x140], ax
sete al
or edx, eax
je 0x5191ff
mov eax, dword [0x559244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x518bc0
mov ecx, dword [0x559244]
push 0xb4
push 0x407100
push ecx
push eax
call esi
lea ebx, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], edx
mov ebx, esp
mov ecx, 0x40b3ac
mov dword [ebp - 0xf4], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xf8]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x30]
test eax, eax
fnclex
jge 0x518c1a
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x40712c
push esi
push eax
call edi
jmp 0x518c20
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x44]
test eax, eax
fnclex
jge 0x518c40
push 0x44
push 0x40713c
push esi
push eax
call edi
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x6c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x559be8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x48]
push edx
mov ebx, 2
push eax
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x559244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x518cc2
mov ecx, dword [0x559244]
push 0xb4
push 0x407100
push ecx
push eax
call edi
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], edx
mov edi, esp
mov ecx, 0x40b3c0
mov dword [ebp - 0xf4], ecx
mov esi, dword [eax]
mov dword [edi], edx
mov edx, dword [ebp - 0xf8]
push eax
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x518d26
mov edx, dword [ebp - 0x14c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x40712c
push edx
push eax
call edi
jmp 0x518d2c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x518d4c
push 0x44
push 0x40713c
push esi
push eax
call edi
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x559bf8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x559244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x518dc9
mov edx, dword [0x559244]
push 0xb4
push 0x407100
push edx
push eax
call edi
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], edx
mov edi, esp
mov ecx, 0x40b3e0
mov dword [ebp - 0xf4], ecx
mov esi, dword [eax]
mov dword [edi], edx
mov edx, dword [ebp - 0xf8]
push eax
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x518e29
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x40712c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x518e4d
push 0x44
push 0x40713c
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x55b7a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push edx
push eax
push ebx
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
add esp, 0x18
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x5592e8
push edx
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], ebx
call esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x10c]
push eax
push ecx
mov dword [ebp - 0x104], 0x40a4f4
mov dword [ebp - 0x10c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push edx
push eax
push ebx
call edi
add esp, 0xc
cmp word [ebp - 0x148], 0
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], ebx
je 0x519089
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x559be8
push edx
call esi
lea eax, [ebp - 0x7c]
push 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 3
call edi
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x519205
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x559be8
push ecx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], ebx
call esi
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x9c]
push edx
push 4
push 0x559be8
push eax
mov dword [ebp - 0x104], 0x405968
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x8c], ebx
call esi
lea ecx, [ebp - 0xcc]
lea edx, [ebp - 0xdc]
push ecx
push 7
push 0x559be8
push edx
mov dword [ebp - 0x124], 0x405968
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0xcc], ebx
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xac]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0xbc]
push edx
push eax
call ebx
lea ecx, [ebp - 0xdc]
push eax
lea edx, [ebp - 0xec]
push ecx
push edx
call ebx
mov edx, eax
mov ecx, 0x559be8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xcc]
push ecx
lea eax, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 9
call edi
add esp, 0x28
jmp 0x51920b
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x559be8
push ecx
call esi
lea edx, [ebp - 0x7c]
push 0x20
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x7c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 3
call edi
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x519205
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x559be8
push eax
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], ebx
call esi
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x9c]
push ecx
push 4
push 0x559be8
push edx
mov dword [ebp - 0x104], 0x405968
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x8c], ebx
call esi
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0xdc]
push eax
push 6
push 0x559be8
push ecx
mov dword [ebp - 0x124], 0x405968
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0xcc], ebx
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0xac]
push edx
push eax
call ebx
lea ecx, [ebp - 0x12c]
push eax
lea edx, [ebp - 0xbc]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xec]
push eax
push ecx
call ebx
mov edx, eax
mov ecx, 0x559be8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xcc]
push eax
lea edx, [ebp - 0xac]
push ecx
lea eax, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x8c]
push ecx
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 9
call edi
add esp, 0x28
jmp 0x51920b
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov eax, dword [0x559244]
push eax
mov edx, dword [eax]
call dword [edx + 0xc4]
test eax, eax
fnclex
jge 0x519237
mov ecx, dword [0x559244]
push 0xc4
push 0x407100
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x407100
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x559244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
lea edx, [ebp - 0xfc]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
push edx
lea eax, [ebp - 0x5c]
push 0x559c08
push eax
mov dword [ebp - 0xf4], 0x40b350
mov dword [ebp - 0x104], 0x40b3a4
call edi
lea ecx, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [0x559224]
mov eax, 0x80020004
mov ecx, 0xa
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xf4], 4
mov dword [ebp - 0xfc], 3
mov edi, dword [edx]
lea edx, [ebp - 0x48]
push edx
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp - 0x118]
mov dword [edx + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
mov dword [ecx], edx
mov edx, dword [ebp - 0x104]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xf8]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp - 0xf4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 8], edx
lea edx, [ebp - 0x44]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [0x559224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x51939a
mov ecx, dword [0x559224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x4070f0
push ecx
push eax
call edi
jmp 0x5193a0
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x559244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x559244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x5193e8
mov edx, dword [0x559244]
push 0x20
push 0x407100
push edx
push eax
call edi
mov eax, dword [0x559244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x519411
mov ecx, dword [0x559244]
push 0x34
push 0x407100
push ecx
push eax
call edi
xor edx, edx
cmp word [ebp - 0x144], dx
sete dl
xor eax, eax
cmp word [ebp - 0x140], ax
sete al
or edx, eax
je 0x519abf
mov eax, dword [0x559244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x519471
mov ecx, dword [0x559244]
push 0xb4
push 0x407100
push ecx
push eax
call edi
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b3ac
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x5194d6
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x40712c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x5194fa
push 0x44
push 0x40713c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x559c18
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x559244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x51957c
mov edx, dword [0x559244]
push 0xb4
push 0x407100
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b3c0
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x5195e1
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x40712c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x519605
push 0x44
push 0x40713c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x559c28
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x559244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x519687
mov edx, dword [0x559244]
push 0xb4
push 0x407100
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b3e0
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x5196ec
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x40712c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x519710
push 0x44
push 0x40713c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x5592e8
push eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], 2
call esi
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x10c]
push ecx
push edx
mov dword [ebp - 0x104], 0x40a4f4
mov dword [ebp - 0x10c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [ebp - 0x148], 0
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], 2
je 0x519944
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x559c18
push eax
call esi
lea ecx, [ebp - 0x7c]
push 0x20
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x7c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
lea ecx, [ebp - 0x7c]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
push 3
call edi
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x519abf
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x559c18
push edx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], 2
call esi
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x9c]
push eax
push 4
push 0x559c18
push ecx
mov dword [ebp - 0x104], 0x405968
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x8c], 2
call esi
lea edx, [ebp - 0xcc]
lea eax, [ebp - 0xdc]
push edx
push 7
push 0x559c18
push eax
mov dword [ebp - 0x124], 0x405968
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0xcc], 2
call esi
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x10c]
push ecx
lea eax, [ebp - 0x7c]
push edx
push eax
call ebx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xac]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0xbc]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xec]
push edx
push eax
call ebx
mov edx, eax
mov ecx, 0x559c18
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xdc]
lea edx, [ebp - 0xbc]
push ecx
lea eax, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xac]
push eax
lea edx, [ebp - 0x9c]
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
jmp 0x519ab8
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x559c18
push edx
call esi
lea eax, [ebp - 0x7c]
push 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 3
call edi
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x519abf
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x559c18
push ecx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], 2
call esi
mov eax, 2
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], eax
push edx
push 4
lea eax, [ebp - 0x9c]
push 0x559c18
push eax
mov dword [ebp - 0x104], 0x405968
mov dword [ebp - 0x10c], 8
call esi
lea ecx, [ebp - 0xcc]
lea edx, [ebp - 0xdc]
push ecx
push 6
push 0x559c18
push edx
mov dword [ebp - 0x124], 0x405968
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0xcc], 2
call esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xac]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0xbc]
push edx
push eax
call ebx
lea ecx, [ebp - 0xdc]
push eax
lea edx, [ebp - 0xec]
push ecx
push edx
call ebx
mov edx, eax
mov ecx, 0x559c18
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xcc]
push ecx
lea eax, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 9
call edi
add esp, 0x28
mov eax, dword [0x559244]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x519aeb
mov edx, dword [0x559244]
push 0xc4
push 0x407100
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x407100
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x559244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0x5c]
push eax
push 0x559c38
push ecx
mov dword [ebp - 0xf4], 0x40b408
mov dword [ebp - 0x104], 0x40b3a4
call edi
push eax
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x6c]
push edx
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [0x559224]
mov eax, 0x80020004
mov ecx, 0xa
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xf4], 4
mov dword [ebp - 0xfc], 3
mov edi, dword [edx]
lea edx, [ebp - 0x48]
push edx
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp - 0x118]
mov dword [edx + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
mov dword [ecx], edx
mov edx, dword [ebp - 0x104]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xf8]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp - 0xf4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 8], edx
lea edx, [ebp - 0x44]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [0x559224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x519c4e
mov ecx, dword [0x559224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x4070f0
push ecx
push eax
call edi
jmp 0x519c54
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x559248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x559248]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x519c9c
mov edx, dword [0x559248]
push 0x20
push 0x407100
push edx
push eax
call edi
mov eax, dword [0x559248]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x519cc5
mov ecx, dword [0x559248]
push 0x34
push 0x407100
push ecx
push eax
call edi
xor edx, edx
cmp word [ebp - 0x144], dx
sete dl
xor eax, eax
cmp word [ebp - 0x140], ax
sete al
or edx, eax
je 0x51a55f
mov eax, dword [0x559248]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x519d29
mov ecx, dword [0x559248]
push 0xb4
push 0x407100
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b3ac
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x519d8e
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x40712c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x519db2
push 0x44
push 0x40713c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x559c48
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x559248]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x519e34
mov edx, dword [0x559248]
push 0xb4
push 0x407100
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b45c
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x519e99
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x40712c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x519ebd
push 0x44
push 0x40713c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x559c58
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [0x559248]
lea eax, [ebp - 0x160]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x48]
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xfc], 2
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x519f54
mov ecx, dword [ebp - 0x160]
push 0xb4
push 0x407100
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
mov edi, eax
call dword [edx + 0x1c]
test eax, eax
fnclex
jge 0x519f7b
push 0x1c
push 0x40b474
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dx, word [ebp - 0x140]
mov eax, 2
sub dx, 1
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0xfc]
jo 0x51a659
mov word [ebp - 0x104], dx
lea ecx, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x11c]
push ecx
lea eax, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x170]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
mov dword [ebp - 0x114], 0
call dword [0x40109c]
lea ecx, [ebp - 0x48]
mov edi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
test edi, edi
je 0x51a1f0
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x51a01f
mov ecx, dword [ebp - 0x160]
push 0xb4
push 0x407100
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x4c]
push ecx
mov eax, dword [ebp - 0x48]
sub esp, 0x10
mov dword [ebp - 0x14c], eax
mov ecx, esp
mov edx, dword [eax]
push eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x1c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x18]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x14]
mov dword [ecx + 0xc], edi
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x51a069
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x40712c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x2c]
test eax, eax
fnclex
jge 0x51a08d
push 0x2c
push 0x40713c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x44]
push eax
push 0x40b488
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov edi, eax
lea ecx, [ebp - 0x44]
neg edi
sbb edi, edi
inc edi
neg edi
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x48]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
test di, di
jne 0x51a0e5
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x170]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForNext]
mov edi, eax
jmp 0x519fe6
mov eax, dword [0x559248]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405bc0
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x51a129
mov ecx, dword [0x559248]
push 0xb4
push 0x407100
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b488
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x51a18e
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x40712c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x51a1b2
push 0x44
push 0x40713c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x559c68
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea edx, [ebp - 0x160]
push 0
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
mov edi, 2
push 0x5592e8
push ecx
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], edi
call esi
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x10c]
push edx
push eax
mov dword [ebp - 0x104], 0x40a4f4
mov dword [ebp - 0x10c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
push ecx
push edx
push edi
mov word [ebp - 0x148], ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
cmp word [ebp - 0x148], 0
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], edi
je 0x51a3e9
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x559c48
push ecx
call esi
lea edx, [ebp - 0x7c]
push 0x20
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x7c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x51a55f
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x559c48
push eax
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], edi
call esi
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x9c]
push ecx
push 4
push 0x559c48
push edx
mov dword [ebp - 0x104], 0x405968
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x8c], edi
call esi
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0xdc]
push eax
push 7
push 0x559c48
push ecx
mov dword [ebp - 0x124], 0x405968
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0xcc], edi
call esi
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0xac]
push edx
push eax
call ebx
lea ecx, [ebp - 0x12c]
push eax
lea edx, [ebp - 0xbc]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xec]
push eax
push ecx
call ebx
mov edx, eax
mov ecx, 0x559c48
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xcc]
push eax
lea edx, [ebp - 0xac]
push ecx
lea eax, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x8c]
push ecx
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
jmp 0x51a554
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x559c48
push eax
call esi
lea ecx, [ebp - 0x7c]
push 0x20
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x7c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
lea ecx, [ebp - 0x7c]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x51a55f
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x559c48
push edx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], edi
call esi
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x9c]
push eax
push 4
push 0x559c48
push ecx
mov dword [ebp - 0x104], 0x405968
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], edi
call esi
lea edx, [ebp - 0xcc]
lea eax, [ebp - 0xdc]
push edx
push 6
push 0x559c48
push eax
mov dword [ebp - 0x124], 0x405968
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0xcc], edi
call esi
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x10c]
push ecx
lea eax, [ebp - 0x7c]
push edx
push eax
call ebx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xac]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0xbc]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xec]
push edx
push eax
call ebx
mov edx, eax
mov ecx, 0x559c48
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xdc]
lea edx, [ebp - 0xbc]
push ecx
lea eax, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xac]
push eax
lea edx, [ebp - 0x9c]
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
push 9
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x28
mov eax, dword [0x559248]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x51a58b
mov edx, dword [0x559248]
push 0xc4
push 0x407100
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x407100
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x559248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x51a648
jmp 0x51a60d
lea ecx, [ebp - 0x160]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x170]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
add esp, 0xc
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x40]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop