Function at 0x4be3f0
Capabilities:
Reference sql statements

Disassembly:
jmp dword [sym.imp.MSVBVM60.DLL___vbaFPException]
push ebp
mov ebp, esp
sub esp, 8
push 0x404546
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401380
mov edx, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x28], eax
mov esi, 1
cmp si, word [ebp - 0x28]
jg 0x4be546
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
movsx edx, si
push ecx
push edx
push eax
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x44], 2
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [0x401300]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcAnsiValueBstr]
movsx ecx, ax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
push edx
push eax
push 0x40000000
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPowerR8]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x70]
fmul qword [ebp - 0x70]
fnstsw ax
test al, 0xd
jne 0x4be584
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
fild dword [ebp - 0x2c]
xor edi, eax
fstp qword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
push ecx
push edx
push 0x40000000
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPowerR8]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x80]
fmul qword [ebp - 0x80]
fnstsw ax
test al, 0xd
jne 0x4be584
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
xor edi, eax
mov eax, ebx
add eax, 7
mov ecx, 0x13
jo 0x4be589
cdq
idiv ecx
mov eax, dword [ebp - 0x2c]
mov ecx, 0x17
add eax, 0xd
jo 0x4be589
mov ebx, edx
cdq
idiv ecx
mov eax, 1
mov dword [ebp - 0x24], ebx
add ax, si
jo 0x4be589
mov esi, eax
mov dword [ebp - 0x2c], edx
jmp 0x4be452
mov dword [ebp - 0x1c], edi
push 0x4be56e
wait
jmp 0x4be564
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
jmp 0x40454c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404546
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x168
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401390
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov edx, 0x413d98
mov ecx, 0x546064
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 4
mov edx, 0x413dc4
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 5
mov edx, 0x413dd4
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 6
mov edx, 0x413de0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 7
cmp dword [0x546014], 0
jne 0x4be666
push 0x546014
push 0x404f24
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x11c], 0x546014
jmp 0x4be670
mov dword [ebp - 0x11c], 0x546014
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xf4]
push edx
call dword [ecx + 0x1c]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4be6c8
push 0x1c
push 0x413e28
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x120], eax
jmp 0x4be6d2
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 8
cmp dword [0x546014], 0
jne 0x4be707
push 0x546014
push 0x404f24
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x124], 0x546014
jmp 0x4be711
mov dword [ebp - 0x124], 0x546014
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0x546064
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf4]
push ecx
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4be77a
push 0x24
push 0x413e28
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x128], eax
jmp 0x4be784
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 9
call fcn.004c2260
mov dword [ebp - 4], 0xa
cmp dword [0x546014], 0
jne 0x4be7c5
push 0x546014
push 0x404f24
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x12c], 0x546014
jmp 0x4be7cf
mov dword [ebp - 0x12c], 0x546014
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
mov dword [ebp - 0xf4], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xf4]
push eax
call dword [edx + 0x28]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4be827
push 0x28
push 0x413e28
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x130], eax
jmp 0x4be831
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x4c], 3
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
lea ecx, [ebp - 0x3c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4c]
push edx
push 0x413f7c
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xfc]
push edx
call dword [ecx + 0x40]
fnclex
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jge 0x4be8a6
push 0x40
push 0x414048
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x134], eax
jmp 0x4be8b0
mov dword [ebp - 0x134], 0
push 0x414058
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x546060
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xb
cmp dword [0x546014], 0
jne 0x4be913
push 0x546014
push 0x404f24
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x138], 0x546014
jmp 0x4be91d
mov dword [ebp - 0x138], 0x546014
mov edx, dword [ebp - 0x138]
mov eax, dword [edx]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf4]
push ecx
call dword [eax + 0x28]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4be975
push 0x28
push 0x413e28
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x13c], eax
jmp 0x4be97f
mov dword [ebp - 0x13c], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x4c], 3
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
lea edx, [ebp - 0x3c]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push eax
push 0x41406c
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xfc]
push eax
call dword [edx + 0x40]
fnclex
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jge 0x4be9f4
push 0x40
push 0x414048
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x100]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x140], eax
jmp 0x4be9fe
mov dword [ebp - 0x140], 0
push 0x414058
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x546010
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [0x546010]
mov edx, dword [ecx]
mov eax, dword [0x546010]
push eax
call dword [edx + 0x68]
fnclex
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jge 0x4bea88
push 0x68
push 0x4140c0
mov ecx, dword [0x546010]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x144], eax
jmp 0x4bea92
mov dword [ebp - 0x144], 0
cmp dword [ebp - 0xf0], 0
jne 0x4beb2b
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x74], 0x80020004
mov dword [ebp - 0x7c], 0xa
mov dword [ebp - 0x64], 0x80020004
mov dword [ebp - 0x6c], 0xa
mov dword [ebp - 0x54], 0x80020004
mov dword [ebp - 0x5c], 0xa
mov dword [ebp - 0xb4], 0x4140d4
mov dword [ebp - 0xbc], 8
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0x40
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x4bf46a
mov dword [ebp - 4], 0x10
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcGetDateVar]
mov dword [ebp - 0xb4], 0x414180
mov dword [ebp - 0xbc], 8
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 1
push 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
cmp dword [0x546014], 0
jne 0x4beb9a
push 0x546014
push 0x404f24
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x148], 0x546014
jmp 0x4beba4
mov dword [ebp - 0x148], 0x546014
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax]
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xf4]
push edx
call dword [ecx + 0x28]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4bebfc
push 0x28
push 0x413e28
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x14c], eax
jmp 0x4bec06
mov dword [ebp - 0x14c], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xac], 3
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
push 0x4140e8
push 0x414144
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 8
mov dword [ebp - 0xc4], 0x41419c
mov dword [ebp - 0xcc], 8
lea eax, [ebp - 0x3c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xfc]
push ecx
call dword [eax + 0x40]
fnclex
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jge 0x4bece6
push 0x40
push 0x414048
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x150], eax
jmp 0x4becf0
mov dword [ebp - 0x150], 0
push 0x414058
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 7
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x20
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0x54]
fnclex
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jge 0x4bed9e
push 0x54
push 0x4140c0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x154], eax
jmp 0x4beda8
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xb4], 0x4141a8
mov dword [ebp - 0xbc], 8
lea ecx, [ebp - 0x3c]
push ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xbc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xb4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [eax + 0x28]
fnclex
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jge 0x4bee3e
push 0x28
push 0x4141c8
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x158], eax
jmp 0x4bee48
mov dword [ebp - 0x158], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x100], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x100]
push edx
call dword [ecx + 0x34]
fnclex
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jge 0x4bee9b
push 0x34
push 0x4141d8
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x15c], eax
jmp 0x4beea5
mov dword [ebp - 0x15c], 0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
mov edx, eax
mov ecx, 0x546040
call dword [0x401300]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0x54]
fnclex
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jge 0x4bef34
push 0x54
push 0x4140c0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x160], eax
jmp 0x4bef3e
mov dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xb4], 0x4141ec
mov dword [ebp - 0xbc], 8
lea ecx, [ebp - 0x3c]
push ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xbc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xb4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [eax + 0x28]
fnclex
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jge 0x4befd4
push 0x28
push 0x4141c8
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x164], eax
jmp 0x4befde
mov dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x100], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x100]
push edx
call dword [ecx + 0x34]
fnclex
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jge 0x4bf031
push 0x34
push 0x4141d8
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x168], eax
jmp 0x4bf03b
mov dword [ebp - 0x168], 0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
mov edx, eax
mov ecx, 0x546044
call dword [0x401300]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x13
call fcn.004c1850
cmp ax, 0xffff
jne 0x4bf1bd
mov dword [ebp - 4], 0x14
cmp dword [0x546090], 0
jne 0x4bf0c4
push 0x546090
push 0x411410
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x16c], 0x546090
jmp 0x4bf0ce
mov dword [ebp - 0x16c], 0x546090
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xc4], 0x80020004
mov dword [ebp - 0xcc], 0xa
mov dword [ebp - 0xb4], 0x80020004
mov dword [ebp - 0xbc], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xcc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xbc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xb4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf4]
push ecx
call dword [eax + 0x2b0]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4bf1ae
push 0x2b0
push 0x41420c
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x170], eax
jmp 0x4bf1b8
mov dword [ebp - 0x170], 0
jmp 0x4bf3bd
mov dword [ebp - 4], 0x16
cmp dword [0x5472c0], 0
jne 0x4bf1e9
push 0x5472c0
push 0x41498c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x174], 0x5472c0
jmp 0x4bf1f3
mov dword [ebp - 0x174], 0x5472c0
mov ecx, dword [ebp - 0x174]
mov edx, dword [ecx]
mov dword [ebp - 0xf4], edx
cmp dword [0x5460a4], 0
jne 0x4bf226
push 0x5460a4
push 0x40d048
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x178], 0x5460a4
jmp 0x4bf230
mov dword [ebp - 0x178], 0x5460a4
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
push eax
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xf4]
push edx
call dword [ecx + 0xc]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4bf28a
push 0xc
push 0x41497c
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x17c], eax
jmp 0x4bf294
mov dword [ebp - 0x17c], 0
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x17
cmp dword [0x5460a4], 0
jne 0x4bf2c9
push 0x5460a4
push 0x40d048
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x180], 0x5460a4
jmp 0x4bf2d3
mov dword [ebp - 0x180], 0x5460a4
mov edx, dword [ebp - 0x180]
mov eax, dword [edx]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xc4], 0x80020004
mov dword [ebp - 0xcc], 0xa
mov dword [ebp - 0xb4], 0x80020004
mov dword [ebp - 0xbc], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xcc]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 0xc], eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xbc]
mov dword [ecx], edx
mov eax, dword [ebp - 0xb8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xb0]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xf4]
push eax
call dword [edx + 0x2b0]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4bf3b3
push 0x2b0
push 0x414874
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x184], eax
jmp 0x4bf3bd
mov dword [ebp - 0x184], 0
mov dword [ebp - 4], 0x1a
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf4]
push ecx
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x4bf428
push 0x1c
push 0x41499c
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x188], eax
jmp 0x4bf432
mov dword [ebp - 0x188], 0
xor ecx, ecx
cmp dword [ebp - 0xf0], 0
sete cl
neg ecx
mov word [ebp - 0xfc], cx
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
movsx edx, word [ebp - 0xfc]
test edx, edx
je 0x4bf46a
mov dword [ebp - 4], 0x1b
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaResume]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x4bf4e9
jmp 0x4bf4c4
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret