Function at 0x4c41e0
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, 0x180
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4029a8
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 - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 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 - 0x13c], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x174], eax
jne 0x4c5731
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x6c]
push eax
push 0x51ae00
push ecx
mov dword [ebp - 0x114], 0x408224
mov dword [ebp - 0x124], 0x407d90
call esi
push eax
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x7c]
push edx
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ebx, [ebp - 0x58]
mov ecx, 0xa
push ebx
mov dword [ebp - 0x13c], ecx
sub esp, 0x10
mov edi, ecx
mov ebx, esp
mov eax, 0x80020004
sub esp, 0x10
mov dword [ebp - 0x134], eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x138]
mov edx, eax
mov dword [ebp - 0x11c], 3
mov dword [ebx + 4], ecx
mov ecx, esp
mov dword [ebp - 0x124], edx
sub esp, 0x10
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x114], 4
mov esi, dword [0x51a224]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x128]
mov dword [ecx], edi
mov dword [ebp - 0x12c], edi
mov esi, dword [esi]
mov dword [ecx + 4], eax
mov eax, esp
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x120]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x110]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x54]
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 [esi + 0xbc]
test eax, eax
fnclex
jge 0x4c43d3
mov ecx, dword [0x51a224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407194
push ecx
push eax
call edi
jmp 0x4c43d9
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push 0x51a254
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x170]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4c4421
mov edx, dword [0x51a254]
push 0x20
push 0x4071a4
push edx
push eax
call edi
mov eax, dword [0x51a254]
lea edx, [ebp - 0x174]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4c444a
mov ecx, dword [0x51a254]
push 0x34
push 0x4071a4
push ecx
push eax
call edi
xor edx, edx
cmp word [ebp - 0x174], dx
sete dl
xor eax, eax
cmp word [ebp - 0x170], ax
sete al
or edx, eax
je 0x4c56f0
mov eax, dword [0x51a254]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4c44aa
mov ecx, dword [0x51a254]
push 0xb4
push 0x4071a4
push ecx
push eax
call edi
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b290
mov dword [ebp - 0x114], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x17c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4c4506
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c4526
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51ad60
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c45a4
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call edi
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b2a8
mov dword [ebp - 0x114], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x17c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4c4600
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c4620
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51ad70
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c469e
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call edi
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b2c4
mov dword [ebp - 0x114], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x17c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4c46fa
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c471a
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51ad80
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c4798
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call edi
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b2d8
mov dword [ebp - 0x114], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x17c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4c47f4
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c4814
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51ad90
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c4892
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call edi
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b2ec
mov dword [ebp - 0x114], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x17c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4c48ee
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c490e
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51ada0
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c498c
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call edi
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b304
mov dword [ebp - 0x114], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x17c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4c49e8
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c4a08
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c4a84
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call edi
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b318
mov dword [ebp - 0x114], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x17c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4c4ae0
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c4b00
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51ae20
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c4b7e
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call edi
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b334
mov dword [ebp - 0x114], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x17c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4c4bda
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c4bfa
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
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, 0x51bf64
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
push eax
push 2
call ebx
mov eax, dword [0x51a254]
add esp, 0x18
lea edx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4c4c88
mov ecx, dword [0x51a254]
push 0xb4
push 0x4071a4
push ecx
push eax
call edi
lea esi, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push esi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], ecx
mov esi, esp
mov dword [ebp - 0x114], 0x40b350
mov edx, dword [eax]
push eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x17c], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x114]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [esi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4c4ce9
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c4d09
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51a99c
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x51a254]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c4d87
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call edi
lea esi, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push esi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], ecx
mov esi, esp
mov dword [ebp - 0x114], 0x40b374
mov edx, dword [eax]
push eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x17c], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x114]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [esi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4c4de8
mov edx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push edx
push eax
call edi
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4c4e08
push 0x44
push 0x4071e0
push esi
push eax
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51ae40
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0x6c]
push edx
push 1
lea eax, [ebp - 0x7c]
push 0x51a2e8
push eax
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x6c], 2
call edi
lea ecx, [ebp - 0x7c]
lea edx, [ebp - 0x12c]
push ecx
push edx
mov dword [ebp - 0x124], 0x40785c
mov dword [ebp - 0x12c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov si, ax
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 2
call ebx
add esp, 0xc
test si, si
je 0x4c5007
lea edx, [ebp - 0x6c]
push 0x51ada0
push edx
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x11c], 0x8002
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
push 3
lea ecx, [ebp - 0x6c]
test ax, ax
push 0x51ada0
push ecx
je 0x4c4f8c
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x9c]
push edx
push 5
push 0x51ada0
push eax
mov dword [ebp - 0x114], 0x407218
mov dword [ebp - 0x11c], 8
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x8c], 2
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x11c]
push ecx
lea eax, [ebp - 0x7c]
push edx
push eax
call esi
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xac]
push ecx
push edx
call esi
mov edx, eax
mov ecx, 0x51ada0
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x8c]
push ecx
lea eax, [ebp - 0x6c]
push edx
push eax
push 4
call ebx
add esp, 0x14
jmp 0x4c500d
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
push 3
lea edx, [ebp - 0x8c]
push 0x51ada0
push edx
mov dword [ebp - 0x114], 0x407218
mov dword [ebp - 0x11c], 8
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x11c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call esi
push eax
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x9c]
push eax
push ecx
call esi
mov edx, eax
mov ecx, 0x51ada0
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 3
call ebx
add esp, 0x10
jmp 0x4c500d
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
lea edx, [ebp - 0x6c]
push 0x51ad80
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea eax, [ebp - 0x8c]
push 0x51ad90
push eax
mov dword [ebp - 0x114], 0x40a1e8
mov dword [ebp - 0x11c], 8
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0xbc]
push 0x51ada0
push ecx
mov dword [ebp - 0x124], 0x407218
mov dword [ebp - 0x12c], 8
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
call esi
push eax
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x9c]
push edx
push eax
call esi
lea ecx, [ebp - 0x12c]
push eax
lea edx, [ebp - 0xac]
push ecx
push edx
call esi
push eax
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0xcc]
push eax
push ecx
call esi
mov edx, eax
mov ecx, 0x51adc0
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x8c]
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 6
call ebx
mov eax, dword [0x51a254]
add esp, 0x1c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c5128
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x5c]
mov eax, 8
push edx
mov ecx, dword [ebp - 0x58]
sub esp, 0x10
mov dword [ebp - 0x11c], eax
mov edx, esp
mov dword [ebp - 0x114], 0x40b394
mov dword [ebp - 0x17c], ecx
mov ecx, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0x118]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x114]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x58]
push edx
call dword [ecx + 0x30]
test eax, eax
fnclex
jge 0x4c5190
mov ecx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov edx, dword [eax]
mov dword [ebp - 0x184], eax
call dword [edx + 0x44]
test eax, eax
fnclex
jge 0x4c51be
mov edx, dword [ebp - 0x184]
push 0x44
push 0x4071e0
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x58]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 2
call ebx
add esp, 0x18
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x7c]
push edx
push 1
push eax
push ecx
mov dword [ebp - 0x124], 0x40a1f4
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0x64], 3
mov dword [ebp - 0x6c], 2
call edi
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x30]
push edx
push 4
lea ecx, [ebp - 0xbc]
push eax
push ecx
mov dword [ebp - 0x134], 0x40a1fc
mov dword [ebp - 0x13c], 8
mov dword [ebp - 0xa4], 3
mov dword [ebp - 0xac], 2
call edi
lea edx, [ebp - 0xec]
lea eax, [ebp - 0x30]
push edx
push 7
lea ecx, [ebp - 0xfc]
push eax
push ecx
mov dword [ebp - 0x154], 0x405a18
mov dword [ebp - 0x15c], 8
mov dword [ebp - 0xe4], 4
mov dword [ebp - 0xec], 2
call edi
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x8c]
push eax
push ecx
call esi
push eax
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x9c]
push edx
push eax
call esi
lea ecx, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xcc]
push ecx
push edx
call esi
push eax
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0xdc]
push eax
push ecx
call esi
push eax
lea edx, [ebp - 0xfc]
lea eax, [ebp - 0x10c]
push edx
push eax
call esi
mov edx, eax
mov ecx, 0x51add0
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xfc]
lea edx, [ebp - 0xdc]
push ecx
lea eax, [ebp - 0xec]
push edx
lea ecx, [ebp - 0xcc]
push eax
lea edx, [ebp - 0xbc]
push ecx
lea eax, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0xac]
push eax
lea edx, [ebp - 0x8c]
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 0xa
call ebx
mov eax, dword [0x51a254]
add esp, 0x2c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c53ad
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x5c]
mov eax, 8
push edx
mov ecx, dword [ebp - 0x58]
sub esp, 0x10
mov dword [ebp - 0x11c], eax
mov edx, esp
mov dword [ebp - 0x114], 0x40b3ac
mov dword [ebp - 0x17c], ecx
mov ecx, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0x118]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x114]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x58]
push edx
call dword [ecx + 0x30]
test eax, eax
fnclex
jge 0x4c5415
mov ecx, dword [ebp - 0x17c]
push 0x30
push 0x4071d0
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov edx, dword [eax]
mov dword [ebp - 0x184], eax
call dword [edx + 0x44]
test eax, eax
fnclex
jge 0x4c5443
mov edx, dword [ebp - 0x184]
push 0x44
push 0x4071e0
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x58]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 2
call ebx
add esp, 0x18
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x7c]
push edx
push 1
push eax
push ecx
mov dword [ebp - 0x124], 0x40a1f4
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0x64], 3
mov dword [ebp - 0x6c], 2
call edi
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x50]
push edx
push 4
lea ecx, [ebp - 0xbc]
push eax
push ecx
mov dword [ebp - 0x134], 0x40a1fc
mov dword [ebp - 0x13c], 8
mov dword [ebp - 0xa4], 3
mov dword [ebp - 0xac], 2
call edi
lea edx, [ebp - 0xec]
lea eax, [ebp - 0x50]
push edx
push 7
lea ecx, [ebp - 0xfc]
push eax
push ecx
mov dword [ebp - 0x154], 0x405a18
mov dword [ebp - 0x15c], 8
mov dword [ebp - 0xe4], 4
mov dword [ebp - 0xec], 2
call edi
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x8c]
push eax
push ecx
call esi
push eax
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x9c]
push edx
push eax
call esi
lea ecx, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xcc]
push ecx
push edx
call esi
push eax
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0xdc]
push eax
push ecx
call esi
push eax
lea edx, [ebp - 0xfc]
lea eax, [ebp - 0x10c]
push edx
push eax
call esi
mov edx, eax
mov ecx, 0x51ade0
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xfc]
lea edx, [ebp - 0xdc]
push ecx
lea eax, [ebp - 0xec]
push edx
lea ecx, [ebp - 0xcc]
push eax
lea edx, [ebp - 0xbc]
push ecx
lea eax, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0xac]
push eax
lea edx, [ebp - 0x8c]
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 0xa
call ebx
mov eax, dword [0x51a254]
add esp, 0x2c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x124], 0x405c70
mov dword [ebp - 0x12c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4c5632
mov edx, dword [0x51a254]
push 0xb4
push 0x4071a4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x11c], edx
mov ebx, esp
mov ecx, 0x40b3c0
mov dword [ebp - 0x114], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x118]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x30]
test eax, eax
fnclex
jge 0x4c5688
push 0x30
push 0x4071d0
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x44]
test eax, eax
fnclex
jge 0x4c56ac
push 0x44
push 0x4071e0
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x51ae30
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x51a254]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x4c5718
mov edx, dword [0x51a254]
push 0xc4
push 0x4071a4
push edx
push eax
call edi
push 0x4071a4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x51a254
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x4c57bf
jmp 0x4c57a4
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x50]
call esi
ret