Function at 0x4d8560
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 [0x51ceea], 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 0x4da214
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 0x51bb78
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 [0x51b224]
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 [0x51b224]
push eax
push edx
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4d8759
mov ecx, dword [0x51b224]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407ff8
push ecx
push eax
call esi
jmp 0x4d875f
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x51b244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x51b244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4d87a7
mov edx, dword [0x51b244]
push 0x20
push 0x408008
push edx
push eax
call esi
mov eax, dword [0x51b244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4d87d0
mov ecx, dword [0x51b244]
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 0x4d8e6f
mov eax, dword [0x51b244]
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 0x4d8830
mov ecx, dword [0x51b244]
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 0x4d888a
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x408034
push esi
push eax
call edi
jmp 0x4d8890
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 0x4d88b0
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, 0x51bb88
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 [0x51b244]
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 0x4d8932
mov ecx, dword [0x51b244]
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 0x4d8996
mov edx, dword [ebp - 0x14c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x408034
push edx
push eax
call edi
jmp 0x4d899c
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 0x4d89bc
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, 0x51bb98
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 [0x51b244]
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 0x4d8a39
mov edx, dword [0x51b244]
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 0x4d8a99
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 0x4d8abd
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, 0x51d760
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 0x51b2e8
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 0x4d8cf9
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x51bb88
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 0x4d8e75
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x51bb88
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 0x51bb88
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 0x51bb88
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, 0x51bb88
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 0x4d8e7b
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x51bb88
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 0x4d8e75
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x51bb88
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 0x51bb88
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 0x51bb88
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, 0x51bb88
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 0x4d8e7b
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov eax, dword [0x51b244]
push eax
mov edx, dword [eax]
call dword [edx + 0xc4]
test eax, eax
fnclex
jge 0x4d8ea7
mov ecx, dword [0x51b244]
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 0x51b244
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 0x51bba8
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 [0x51b224]
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 [0x51b224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4d900a
mov ecx, dword [0x51b224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407ff8
push ecx
push eax
call edi
jmp 0x4d9010
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x51b244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x51b244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4d9058
mov edx, dword [0x51b244]
push 0x20
push 0x408008
push edx
push eax
call edi
mov eax, dword [0x51b244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4d9081
mov ecx, dword [0x51b244]
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 0x4d972f
mov eax, dword [0x51b244]
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 0x4d90e1
mov ecx, dword [0x51b244]
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 0x4d9146
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 0x4d916a
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, 0x51bbb8
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 [0x51b244]
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 0x4d91ec
mov edx, dword [0x51b244]
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 0x4d9251
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 0x4d9275
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, 0x51bbc8
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 [0x51b244]
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 0x4d92f7
mov edx, dword [0x51b244]
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 0x4d935c
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 0x4d9380
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 0x51b2e8
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 0x4d95b4
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x51bbb8
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 0x4d972f
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x51bbb8
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 0x51bbb8
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 0x51bbb8
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, 0x51bbb8
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 0x4d9728
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x51bbb8
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 0x4d972f
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x51bbb8
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 0x51bbb8
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 0x51bbb8
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, 0x51bbb8
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 [0x51b244]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x4d975b
mov edx, dword [0x51b244]
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 0x51b244
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 0x51bbd8
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 [0x51b224]
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 [0x51b224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4d98be
mov ecx, dword [0x51b224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407ff8
push ecx
push eax
call edi
jmp 0x4d98c4
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x51b248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x51b248]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4d990c
mov edx, dword [0x51b248]
push 0x20
push 0x408008
push edx
push eax
call edi
mov eax, dword [0x51b248]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4d9935
mov ecx, dword [0x51b248]
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 0x4da1cf
mov eax, dword [0x51b248]
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 0x4d9999
mov ecx, dword [0x51b248]
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 0x4d99fe
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 0x4d9a22
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, 0x51bbe8
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 [0x51b248]
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 0x4d9aa4
mov edx, dword [0x51b248]
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 0x4d9b09
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 0x4d9b2d
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, 0x51bbf8
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 [0x51b248]
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 0x4d9bc4
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 0x4d9beb
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 0x4da2c9
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 0x4d9e60
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 0x4d9c8f
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 0x4d9cd9
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 0x4d9cfd
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 0x4d9d55
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 0x4d9c56
mov eax, dword [0x51b248]
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 0x4d9d99
mov ecx, dword [0x51b248]
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 0x4d9dfe
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 0x4d9e22
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, 0x51bc08
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 0x51b2e8
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 0x4da059
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x51bbe8
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 0x4da1cf
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x51bbe8
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 0x51bbe8
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 0x51bbe8
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, 0x51bbe8
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 0x4da1c4
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x51bbe8
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 0x4da1cf
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x51bbe8
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 0x51bbe8
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 0x51bbe8
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, 0x51bbe8
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 [0x51b248]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x4da1fb
mov edx, dword [0x51b248]
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 0x51b248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x4da2b8
jmp 0x4da27d
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