Function at 0x53bc30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x406bc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x406220
mov edx, dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor edi, edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], edi
call esi
mov edx, 0x40d7b4
lea ecx, [ebp - 0x20]
call esi
mov edx, 0x40d7b4
lea ecx, [ebp - 0x1c]
call esi
mov eax, dword [0x55e088]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaDateStr]
lea ecx, [ebp - 0x10c]
lea edx, [ebp - 0x6c]
push ecx
push 0x3ff00000
push edi
push 0x40f6e8
push edx
mov dword [ebp - 0x104], 0x55e088
fstp st(0)
mov dword [ebp - 0x10c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcDateAdd]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x11c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
mov dword [ebp - 0x114], 0x4219b0
mov dword [ebp - 0x11c], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaDateVar]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 2
fstp st(0)
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
add esp, 0xc
push 0x427ef4
push 0x40fcbc
call ebx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov edx, dword [ebp - 0x1c]
push edx
push 0x421ad8
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x40fcbc
call ebx
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x164], eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
cmp eax, edi
fnclex
jge 0x53bdff
push 0x98
mov edx, dword [ebp - 0x164]
push 0x40f2ec
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x160]
push edx
mov eax, dword [eax]
push eax
mov dword [ebp - 0x164], eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp eax, edi
fnclex
jge 0x53be32
mov ecx, dword [ebp - 0x164]
push 0x50
push 0x40f2ec
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x160], di
jne 0x53c866
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x164], eax
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x53be6f
mov ecx, dword [ebp - 0x164]
push 0x54
push 0x40f2ec
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x50]
mov eax, 8
mov dword [ebp - 0x104], 0x421b94
mov dword [ebp - 0x10c], eax
mov edx, dword [ecx]
mov dword [ebp - 0x16c], ecx
lea ecx, [ebp - 0x54]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x108]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x53bed7
mov edx, dword [ebp - 0x16c]
push 0x28
push 0x410e74
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x174], eax
call dword [ecx + 0x34]
cmp eax, edi
fnclex
jge 0x53bf05
mov ecx, dword [ebp - 0x174]
push 0x34
push 0x410e84
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x11c]
push edx
push eax
mov dword [ebp - 0x114], 0x41daf8
mov dword [ebp - 0x11c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTextTstEq]
lea ecx, [ebp - 0x54]
lea edx, [ebp - 0x50]
push ecx
push edx
push 2
mov word [ebp - 0x17c], ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp + 8]
cmp word [ebp - 0x17c], di
lea edx, [ebp - 0x50]
mov dword [ebp - 0x74], 0x80020004
mov eax, dword [eax]
mov dword [ebp - 0x7c], 0xa
push edx
mov dword [ebp - 0x164], eax
mov ecx, dword [eax]
push eax
je 0x53c548
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x53bf98
mov ecx, dword [ebp - 0x164]
push 0x54
push 0x40f2ec
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x50]
mov eax, 8
mov dword [ebp - 0x104], 0x41da38
mov dword [ebp - 0x10c], eax
mov edx, dword [ecx]
mov dword [ebp - 0x16c], ecx
lea ecx, [ebp - 0x54]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x108]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x53c000
mov edx, dword [ebp - 0x16c]
push 0x28
push 0x410e74
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x54]
push edx
mov ecx, 9
sub esp, 0x10
mov dword [ebp - 0x6c], ecx
mov edx, esp
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x68]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x8c]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [edx + 0xc], eax
call fcn.0047d200
mov edx, dword [ebp - 0x1c]
push edx
push 0x421b1c
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
mov ecx, dword [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0x88]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x84]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x80]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00477be0
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
call esi
push eax
push 0x421bb8
call ebx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x58]
mov dword [ebp - 0xcc], 8
mov ebx, dword [eax]
mov dword [ebp - 0xa4], 0x80020004
mov dword [ebp - 0xac], 0xa
push edx
mov ecx, dword [ebx]
push ebx
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x53c0d5
push 0x54
push 0x40f2ec
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov ecx, 8
sub esp, 0x10
mov edx, dword [eax]
mov ebx, esp
mov dword [ebp - 0x17c], eax
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x128]
mov dword [ebx + 4], ecx
mov ecx, 0x41da38
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x120]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x53c129
mov edx, dword [ebp - 0x17c]
push 0x28
push 0x410e74
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
push edx
mov ecx, 9
sub esp, 0x10
mov dword [ebp - 0x9c], ecx
mov edx, esp
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x5c], edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x98]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0xbc]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [edx + 0xc], eax
call fcn.0047d200
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x15c], eax
lea edx, [ebp - 0xcc]
lea eax, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xdc]
push eax
push ecx
mov dword [ebp - 0x144], 0x421bf0
mov dword [ebp - 0x154], 0x40fcbc
call ebx
push eax
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0xec]
push edx
push eax
call ebx
lea ecx, [ebp - 0x15c]
push eax
lea edx, [ebp - 0xfc]
push ecx
push edx
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
lea edx, [ebp - 0x44]
push ecx
push edx
push 3
call dword [fcn.004012f0]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x50]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0xfc]
lea eax, [ebp - 0xec]
push edx
lea ecx, [ebp - 0xdc]
push eax
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 - 0x8c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
lea edx, [ebp - 0x6c]
push edx
push 0xa
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp + 8]
add esp, 0x48
lea edx, [ebp - 0x50]
mov dword [ebp - 0x74], 0x80020004
mov ebx, dword [eax]
mov dword [ebp - 0x7c], 0xa
push edx
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x53c282
push 0x54
push 0x40f2ec
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x54]
mov eax, dword [ebp - 0x50]
push ebx
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0x10c], ecx
mov ebx, esp
mov dword [ebp - 0x104], 0x41da38
mov edx, dword [eax]
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x16c], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x104]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x100]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x53c2e7
mov edx, dword [ebp - 0x16c]
push 0x28
push 0x410e74
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x54]
push edx
mov ecx, 9
sub esp, 0x10
mov dword [ebp - 0x6c], ecx
mov edx, esp
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x68]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x8c]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [edx + 0xc], eax
call fcn.0047d200
mov edx, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push edx
push 0x421b1c
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
mov ecx, dword [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0x88]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x84]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x80]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00477be0
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
call esi
push eax
push 0x421bfc
call ebx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x58]
mov dword [ebp - 0xcc], 8
mov ebx, dword [eax]
mov dword [ebp - 0xa4], 0x80020004
mov dword [ebp - 0xac], 0xa
push edx
mov ecx, dword [ebx]
push ebx
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x53c3c2
push 0x54
push 0x40f2ec
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push ebx
mov ecx, 8
sub esp, 0x10
mov edx, dword [eax]
mov ebx, esp
mov dword [ebp - 0x17c], eax
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x128]
mov dword [ebx + 4], ecx
mov ecx, 0x41da38
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x120]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x53c416
mov edx, dword [ebp - 0x17c]
push 0x28
push 0x410e74
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
push edx
mov ecx, 9
sub esp, 0x10
mov dword [ebp - 0x9c], ecx
mov edx, esp
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x5c], edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x98]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0xbc]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [edx + 0xc], eax
call fcn.0047d200
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x15c], eax
lea edx, [ebp - 0xcc]
lea eax, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xdc]
push eax
push ecx
mov dword [ebp - 0x144], 0x421bf0
mov dword [ebp - 0x154], 0x40fcbc
call ebx
push eax
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0xec]
push edx
push eax
call ebx
lea ecx, [ebp - 0x15c]
push eax
lea edx, [ebp - 0xfc]
push ecx
push edx
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
lea edx, [ebp - 0x44]
push ecx
push edx
push 3
call dword [fcn.004012f0]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x50]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0xfc]
lea eax, [ebp - 0xec]
push edx
lea ecx, [ebp - 0xdc]
push eax
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 - 0x8c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
lea edx, [ebp - 0x6c]
push edx
push 0xa
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
add esp, 0x48
jmp 0x53c83e
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x53c566
mov ecx, dword [ebp - 0x164]
push 0x54
push 0x40f2ec
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x50]
mov eax, 8
mov dword [ebp - 0x104], 0x41da38
mov dword [ebp - 0x10c], eax
mov edx, dword [ecx]
mov dword [ebp - 0x16c], ecx
lea ecx, [ebp - 0x54]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x108]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x53c5ce
mov edx, dword [ebp - 0x16c]
push 0x28
push 0x410e74
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x54]
push edx
mov ecx, 9
sub esp, 0x10
mov dword [ebp - 0x6c], ecx
mov edx, esp
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x68]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x8c]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [edx + 0xc], eax
call fcn.0047d200
mov edx, dword [ebp - 0x1c]
push edx
push 0x421b1c
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
mov ecx, dword [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0x88]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x84]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x80]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00477be0
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
call esi
push eax
push 0x421c50
call ebx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x58]
mov dword [ebp - 0xcc], 8
mov eax, dword [eax]
mov dword [ebp - 0xa4], 0x80020004
mov dword [ebp - 0xac], 0xa
push edx
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x174], eax
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x53c6af
mov ecx, dword [ebp - 0x174]
push 0x54
push 0x40f2ec
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x58]
mov eax, 8
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x124], 0x41da38
mov edx, dword [ecx]
lea ecx, [ebp - 0x5c]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x128]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x124]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x120]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x53c711
mov edx, dword [ebp - 0x17c]
push 0x28
push 0x410e74
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
push edx
mov ecx, 9
sub esp, 0x10
mov dword [ebp - 0x9c], ecx
mov edx, esp
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x5c], edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x98]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0xbc]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [edx + 0xc], eax
call fcn.0047d200
mov eax, 8
lea edx, [ebp - 0xcc]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xdc]
push eax
push ecx
mov dword [ebp - 0x144], 0x421bf0
mov dword [ebp - 0x154], 0x40fcbc
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0xec]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea ecx, [ebp - 0x15c]
push eax
lea edx, [ebp - 0xfc]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
lea edx, [ebp - 0x44]
push ecx
push edx
push 3
call dword [fcn.004012f0]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x50]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0xfc]
lea eax, [ebp - 0xec]
push edx
lea ecx, [ebp - 0xdc]
push eax
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 - 0x8c]
push edx
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
push 0xa
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x48
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x164], eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
cmp eax, edi
fnclex
jge 0x53bdff
push 0x90
jmp 0x53bdec
mov eax, dword [ebp - 0x1c]
push eax
push 0x421c7c
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x40fcbc
call ebx
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x44]
call edi
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x41e41c
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x40fcbc
call ebx
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x44]
call edi
mov edx, dword [ebp - 0x1c]
push edx
push 0x421cb4
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x40fcbc
call ebx
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x44]
call edi
mov eax, dword [ebp - 0x1c]
push eax
push 0x427f48
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
mov ecx, dword [0x55e074]
push eax
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x44]
call edi
mov edx, dword [ebp - 0x1c]
push edx
push 0x421eac
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x40fcbc
call ebx
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x44]
call edi
mov eax, dword [ebp - 0x1c]
push eax
push 0x427f7c
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x40fcbc
call ebx
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x44]
call edi
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
wait
push 0x53ca16
jmp 0x53c9f0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x34]
call edi
lea ecx, [ebp - 0x40]
call esi
ret