Function at 0x50e780
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x403e56
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], 0x403830
xor eax, eax
cmp word [0x553eea], 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 0x510434
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 0x552b78
push ecx
mov dword [ebp - 0xf4], 0x40c2d4
mov dword [ebp - 0x104], 0x40c328
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 [0x552224]
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 [0x552224]
push eax
push edx
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x50e979
mov ecx, dword [0x552224]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407ff8
push ecx
push eax
call esi
jmp 0x50e97f
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x552244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x552244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x50e9c7
mov edx, dword [0x552244]
push 0x20
push 0x408008
push edx
push eax
call esi
mov eax, dword [0x552244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x50e9f0
mov ecx, dword [0x552244]
push 0x34
push 0x408008
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 0x50f08f
mov eax, dword [0x552244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x50ea50
mov ecx, dword [0x552244]
push 0xb4
push 0x408008
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, 0x40c330
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 0x50eaaa
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x408034
push esi
push eax
call edi
jmp 0x50eab0
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 0x50ead0
push 0x44
push 0x408044
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, 0x552b88
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 [0x552244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x50eb52
mov ecx, dword [0x552244]
push 0xb4
push 0x408008
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, 0x40c344
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 0x50ebb6
mov edx, dword [ebp - 0x14c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x408034
push edx
push eax
call edi
jmp 0x50ebbc
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 0x50ebdc
push 0x44
push 0x408044
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, 0x552b98
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 [0x552244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x50ec59
mov edx, dword [0x552244]
push 0xb4
push 0x408008
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, 0x40c364
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 0x50ecb9
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x408034
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 0x50ecdd
push 0x44
push 0x408044
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, 0x554760
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 0x5522e8
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], 0x40b488
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 0x50ef19
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x552b88
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 0x50f095
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x552b88
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 0x552b88
push eax
mov dword [ebp - 0x104], 0x4068e0
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 0x552b88
push edx
mov dword [ebp - 0x124], 0x4068e0
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, 0x552b88
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 0x50f09b
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x552b88
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 0x50f095
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x552b88
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 0x552b88
push edx
mov dword [ebp - 0x104], 0x4068e0
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 0x552b88
push ecx
mov dword [ebp - 0x124], 0x4068e0
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, 0x552b88
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 0x50f09b
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov eax, dword [0x552244]
push eax
mov edx, dword [eax]
call dword [edx + 0xc4]
test eax, eax
fnclex
jge 0x50f0c7
mov ecx, dword [0x552244]
push 0xc4
push 0x408008
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x408008
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x552244
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 0x552ba8
push eax
mov dword [ebp - 0xf4], 0x40c2d4
mov dword [ebp - 0x104], 0x40c328
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 [0x552224]
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 [0x552224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x50f22a
mov ecx, dword [0x552224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407ff8
push ecx
push eax
call edi
jmp 0x50f230
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x552244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x552244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x50f278
mov edx, dword [0x552244]
push 0x20
push 0x408008
push edx
push eax
call edi
mov eax, dword [0x552244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x50f2a1
mov ecx, dword [0x552244]
push 0x34
push 0x408008
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 0x50f94f
mov eax, dword [0x552244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x50f301
mov ecx, dword [0x552244]
push 0xb4
push 0x408008
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], 0x40c330
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 0x50f366
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x408034
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 0x50f38a
push 0x44
push 0x408044
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, 0x552bb8
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 [0x552244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x50f40c
mov edx, dword [0x552244]
push 0xb4
push 0x408008
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], 0x40c344
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 0x50f471
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x408034
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 0x50f495
push 0x44
push 0x408044
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, 0x552bc8
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 [0x552244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x50f517
mov edx, dword [0x552244]
push 0xb4
push 0x408008
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], 0x40c364
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 0x50f57c
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x408034
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 0x50f5a0
push 0x44
push 0x408044
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 0x5522e8
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], 0x40b488
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 0x50f7d4
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x552bb8
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 0x50f94f
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x552bb8
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 0x552bb8
push ecx
mov dword [ebp - 0x104], 0x4068e0
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 0x552bb8
push eax
mov dword [ebp - 0x124], 0x4068e0
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, 0x552bb8
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 0x50f948
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x552bb8
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 0x50f94f
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x552bb8
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 0x552bb8
push eax
mov dword [ebp - 0x104], 0x4068e0
mov dword [ebp - 0x10c], 8
call esi
lea ecx, [ebp - 0xcc]
lea edx, [ebp - 0xdc]
push ecx
push 6
push 0x552bb8
push edx
mov dword [ebp - 0x124], 0x4068e0
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, 0x552bb8
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 [0x552244]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x50f97b
mov edx, dword [0x552244]
push 0xc4
push 0x408008
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x408008
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x552244
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 0x552bd8
push ecx
mov dword [ebp - 0xf4], 0x40c38c
mov dword [ebp - 0x104], 0x40c328
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 [0x552224]
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 [0x552224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x50fade
mov ecx, dword [0x552224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407ff8
push ecx
push eax
call edi
jmp 0x50fae4
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x552248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x552248]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x50fb2c
mov edx, dword [0x552248]
push 0x20
push 0x408008
push edx
push eax
call edi
mov eax, dword [0x552248]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x50fb55
mov ecx, dword [0x552248]
push 0x34
push 0x408008
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 0x5103ef
mov eax, dword [0x552248]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x50fbb9
mov ecx, dword [0x552248]
push 0xb4
push 0x408008
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], 0x40c330
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 0x50fc1e
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x408034
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 0x50fc42
push 0x44
push 0x408044
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, 0x552be8
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 [0x552248]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x50fcc4
mov edx, dword [0x552248]
push 0xb4
push 0x408008
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], 0x40c3e0
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 0x50fd29
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x408034
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 0x50fd4d
push 0x44
push 0x408044
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, 0x552bf8
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 [0x552248]
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 0x50fde4
mov ecx, dword [ebp - 0x160]
push 0xb4
push 0x408008
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 0x50fe0b
push 0x1c
push 0x40c3f8
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 0x5104e9
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 [0x401098]
lea ecx, [ebp - 0x48]
mov edi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
test edi, edi
je 0x510080
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 0x50feaf
mov ecx, dword [ebp - 0x160]
push 0xb4
push 0x408008
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 0x50fef9
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x408034
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 0x50ff1d
push 0x2c
push 0x408044
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x44]
push eax
push 0x40c40c
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 0x50ff75
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 0x50fe76
mov eax, dword [0x552248]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x406b38
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x50ffb9
mov ecx, dword [0x552248]
push 0xb4
push 0x408008
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], 0x40c40c
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 0x51001e
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x408034
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 0x510042
push 0x44
push 0x408044
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, 0x552c08
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 0x5522e8
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], 0x40b488
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 0x510279
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x552be8
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 0x5103ef
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x552be8
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 0x552be8
push edx
mov dword [ebp - 0x104], 0x4068e0
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 0x552be8
push ecx
mov dword [ebp - 0x124], 0x4068e0
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, 0x552be8
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 0x5103e4
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x552be8
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 0x5103ef
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x552be8
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 0x552be8
push ecx
mov dword [ebp - 0x104], 0x4068e0
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 0x552be8
push eax
mov dword [ebp - 0x124], 0x4068e0
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, 0x552be8
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 [0x552248]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x51041b
mov edx, dword [0x552248]
push 0xc4
push 0x408008
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x408008
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x552248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x5104d8
jmp 0x51049d
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