Function at 0x4c57d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402f56
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], 0x4029b8
xor eax, eax
cmp word [0x51bf5a], 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 0x4c7484
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 0x51abd8
push ecx
mov dword [ebp - 0xf4], 0x40b3dc
mov dword [ebp - 0x104], 0x40b430
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 [0x51a224]
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 [0x51a224]
push eax
push edx
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4c59c9
mov ecx, dword [0x51a224]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407194
push ecx
push eax
call esi
jmp 0x4c59cf
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x51a244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x51a244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4c5a17
mov edx, dword [0x51a244]
push 0x20
push 0x4071a4
push edx
push eax
call esi
mov eax, dword [0x51a244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4c5a40
mov ecx, dword [0x51a244]
push 0x34
push 0x4071a4
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 0x4c60df
mov eax, dword [0x51a244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4c5aa0
mov ecx, dword [0x51a244]
push 0xb4
push 0x4071a4
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, 0x40b438
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 0x4c5afa
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x4071d0
push esi
push eax
call edi
jmp 0x4c5b00
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 0x4c5b20
push 0x44
push 0x4071e0
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, 0x51abe8
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 [0x51a244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4c5ba2
mov ecx, dword [0x51a244]
push 0xb4
push 0x4071a4
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, 0x40b468
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 0x4c5c06
mov edx, dword [ebp - 0x14c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x4071d0
push edx
push eax
call edi
jmp 0x4c5c0c
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 0x4c5c2c
push 0x44
push 0x4071e0
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, 0x51abf8
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 [0x51a244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c5ca9
mov edx, dword [0x51a244]
push 0xb4
push 0x4071a4
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, 0x40b488
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 0x4c5d09
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x4071d0
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 0x4c5d2d
push 0x44
push 0x4071e0
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, 0x51c7a0
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 0x51a2e8
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], 0x40a580
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 0x4c5f69
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x51abe8
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 0x4c60e5
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x51abe8
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 0x51abe8
push eax
mov dword [ebp - 0x104], 0x405a18
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 0x51abe8
push edx
mov dword [ebp - 0x124], 0x405a18
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, 0x51abe8
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 0x4c60eb
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x51abe8
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 0x4c60e5
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x51abe8
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 0x51abe8
push edx
mov dword [ebp - 0x104], 0x405a18
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 0x51abe8
push ecx
mov dword [ebp - 0x124], 0x405a18
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, 0x51abe8
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 0x4c60eb
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov eax, dword [0x51a244]
push eax
mov edx, dword [eax]
call dword [edx + 0xc4]
test eax, eax
fnclex
jge 0x4c6117
mov ecx, dword [0x51a244]
push 0xc4
push 0x4071a4
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x4071a4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x51a244
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 0x51ac08
push eax
mov dword [ebp - 0xf4], 0x40b3dc
mov dword [ebp - 0x104], 0x40b430
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 [0x51a224]
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 [0x51a224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4c627a
mov ecx, dword [0x51a224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407194
push ecx
push eax
call edi
jmp 0x4c6280
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x51a244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x51a244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4c62c8
mov edx, dword [0x51a244]
push 0x20
push 0x4071a4
push edx
push eax
call edi
mov eax, dword [0x51a244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4c62f1
mov ecx, dword [0x51a244]
push 0x34
push 0x4071a4
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 0x4c699f
mov eax, dword [0x51a244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4c6351
mov ecx, dword [0x51a244]
push 0xb4
push 0x4071a4
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], 0x40b438
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 0x4c63b6
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x4071d0
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 0x4c63da
push 0x44
push 0x4071e0
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, 0x51ac18
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 [0x51a244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c645c
mov edx, dword [0x51a244]
push 0xb4
push 0x4071a4
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], 0x40b468
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 0x4c64c1
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x4071d0
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 0x4c64e5
push 0x44
push 0x4071e0
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, 0x51ac28
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 [0x51a244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c6567
mov edx, dword [0x51a244]
push 0xb4
push 0x4071a4
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], 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 0x4c65cc
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x4071d0
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 0x4c65f0
push 0x44
push 0x4071e0
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 0x51a2e8
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], 0x40a580
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 0x4c6824
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x51ac18
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 0x4c699f
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x51ac18
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 0x51ac18
push ecx
mov dword [ebp - 0x104], 0x405a18
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 0x51ac18
push eax
mov dword [ebp - 0x124], 0x405a18
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, 0x51ac18
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 0x4c6998
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x51ac18
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 0x4c699f
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x51ac18
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 0x51ac18
push eax
mov dword [ebp - 0x104], 0x405a18
mov dword [ebp - 0x10c], 8
call esi
lea ecx, [ebp - 0xcc]
lea edx, [ebp - 0xdc]
push ecx
push 6
push 0x51ac18
push edx
mov dword [ebp - 0x124], 0x405a18
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, 0x51ac18
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 [0x51a244]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x4c69cb
mov edx, dword [0x51a244]
push 0xc4
push 0x4071a4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x4071a4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x51a244
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 0x51ac38
push ecx
mov dword [ebp - 0xf4], 0x40b4b0
mov dword [ebp - 0x104], 0x40b430
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 [0x51a224]
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 [0x51a224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4c6b2e
mov ecx, dword [0x51a224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407194
push ecx
push eax
call edi
jmp 0x4c6b34
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x51a248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x51a248]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4c6b7c
mov edx, dword [0x51a248]
push 0x20
push 0x4071a4
push edx
push eax
call edi
mov eax, dword [0x51a248]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4c6ba5
mov ecx, dword [0x51a248]
push 0x34
push 0x4071a4
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 0x4c743f
mov eax, dword [0x51a248]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4c6c09
mov ecx, dword [0x51a248]
push 0xb4
push 0x4071a4
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], 0x40b438
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 0x4c6c6e
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x4071d0
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 0x4c6c92
push 0x44
push 0x4071e0
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, 0x51ac48
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 [0x51a248]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c6d14
mov edx, dword [0x51a248]
push 0xb4
push 0x4071a4
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], 0x40b504
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 0x4c6d79
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x4071d0
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 0x4c6d9d
push 0x44
push 0x4071e0
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, 0x51ac58
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 [0x51a248]
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 0x4c6e34
mov ecx, dword [ebp - 0x160]
push 0xb4
push 0x4071a4
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 0x4c6e5b
push 0x1c
push 0x40b51c
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 0x4c7539
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 0x4c70d0
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 0x4c6eff
mov ecx, dword [ebp - 0x160]
push 0xb4
push 0x4071a4
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 0x4c6f49
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x4071d0
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 0x4c6f6d
push 0x2c
push 0x4071e0
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x44]
push eax
push 0x40b530
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 0x4c6fc5
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 0x4c6ec6
mov eax, dword [0x51a248]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405c70
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4c7009
mov ecx, dword [0x51a248]
push 0xb4
push 0x4071a4
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], 0x40b530
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 0x4c706e
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x4071d0
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 0x4c7092
push 0x44
push 0x4071e0
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, 0x51ac68
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 0x51a2e8
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], 0x40a580
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 0x4c72c9
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x51ac48
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 0x4c743f
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x51ac48
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 0x51ac48
push edx
mov dword [ebp - 0x104], 0x405a18
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 0x51ac48
push ecx
mov dword [ebp - 0x124], 0x405a18
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, 0x51ac48
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 0x4c7434
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x51ac48
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 0x4c743f
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x51ac48
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 0x51ac48
push ecx
mov dword [ebp - 0x104], 0x405a18
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 0x51ac48
push eax
mov dword [ebp - 0x124], 0x405a18
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, 0x51ac48
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 [0x51a248]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x4c746b
mov edx, dword [0x51a248]
push 0xc4
push 0x4071a4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x4071a4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x51a248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x4c7528
jmp 0x4c74ed
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