Function at 0x4d4540
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x406bc6
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], 0x404088
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 word [ebp - 0x2c], 0
mov dword [ebp - 4], 4
mov edx, 0x40d7b4
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x40ff24
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00477d50
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
push 2
call dword [fcn.004012f0]
add esp, 0xc
mov dword [ebp - 4], 5
mov edx, 0x40d7b4
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x40ff10
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.00477d50
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 2
call dword [fcn.004012f0]
add esp, 0xc
mov dword [ebp - 4], 6
mov edx, 0x40ff08
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x4199ec
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.00477d50
mov edx, eax
mov ecx, 0x55e074
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x54]
push edx
push 2
call dword [fcn.004012f0]
add esp, 0xc
mov dword [ebp - 4], 7
mov edx, dword [0x55e03c]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 8
mov edx, dword [0x55e040]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 9
cmp dword [0x55eee4], 0
jne 0x4d46e5
push 0x55eee4
push 0x40e500
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x154], 0x55eee4
jmp 0x4d46ef
mov dword [ebp - 0x154], 0x55eee4
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
mov dword [ebp - 0x114], ecx
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x114]
push edx
call dword [ecx + 0x14]
fnclex
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x4d4747
push 0x14
push 0x40e4f0
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x158], eax
jmp 0x4d4751
mov dword [ebp - 0x158], 0
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x11c], edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x11c]
push eax
call dword [edx + 0x50]
fnclex
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jge 0x4d47a4
push 0x50
push 0x40e510
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x15c], eax
jmp 0x4d47ae
mov dword [ebp - 0x15c], 0
push 0x41a6e4
mov eax, dword [ebp - 0x54]
push eax
call fcn.0047c820
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x58]
push ecx
call fcn.004824b0
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
push 2
call dword [fcn.004012f0]
add esp, 0xc
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0xa
push 0x40e2a8
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0xb
push 0x40e2a8
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x55e02c
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0xc
push 0x40e298
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x55e024
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0xd
cmp dword [0x55eee4], 0
jne 0x4d4877
push 0x55eee4
push 0x40e500
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x160], 0x55eee4
jmp 0x4d4881
mov dword [ebp - 0x160], 0x55eee4
mov edx, dword [ebp - 0x160]
mov eax, dword [edx]
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x4d48d9
push 0x14
push 0x40e4f0
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x164], eax
jmp 0x4d48e3
mov dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x11c], ecx
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x11c]
push edx
call dword [ecx + 0x50]
fnclex
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jge 0x4d4936
push 0x50
push 0x40e510
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x168], eax
jmp 0x4d4940
mov dword [ebp - 0x168], 0
call fcn.00477a60
mov edx, eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x148]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov eax, dword [ebp - 0x54]
push eax
call fcn.0047c820
mov edx, eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
cmp dword [0x55eee4], 0
jne 0x4d49a9
push 0x55eee4
push 0x40e500
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x16c], 0x55eee4
jmp 0x4d49b3
mov dword [ebp - 0x16c], 0x55eee4
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ecx]
mov dword [ebp - 0x124], edx
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x124]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jge 0x4d4a0b
push 0x14
push 0x40e4f0
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x128]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x170], eax
jmp 0x4d4a15
mov dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jge 0x4d4a68
push 0x50
push 0x40e510
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x174], eax
jmp 0x4d4a72
mov dword [ebp - 0x174], 0
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetPresentDate]
mov dword [ebp - 0xe0], 0x41bf14
mov dword [ebp - 0xe8], 8
mov dword [ebp - 0xd0], 0x41a72c
mov dword [ebp - 0xd8], 8
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 1
push 1
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
mov dword [ebp - 0xf0], 0x41a750
mov dword [ebp - 0xf8], 8
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0047c820
mov edx, eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFileCopy]
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x54]
push edx
push 8
call dword [fcn.004012f0]
add esp, 0x24
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x74]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x88]
push eax
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
mov dword [ebp - 4], 0xe
call fcn.004d56b0
mov dword [ebp - 4], 0xf
mov edx, 0x40d7b4
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x40ff10
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.00477d50
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 2
call dword [fcn.004012f0]
add esp, 0xc
mov dword [ebp - 4], 0x10
mov edx, dword [ebp - 0x3c]
push edx
push 0x40d7b4
call dword [sym.imp.MSVBVM60.DLL___vbaStrTextCmp]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 0x3c]
push eax
push 0x40fafc
call dword [sym.imp.MSVBVM60.DLL___vbaStrTextCmp]
neg eax
sbb eax, eax
neg eax
and esi, eax
test esi, esi
jne 0x4d4c7c
mov dword [ebp - 4], 0x11
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaR8Str]
fadd qword [0x4020b0]
fnstsw ax
test al, 0xd
jne 0x4d538e
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL___vbaStrR8]
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x14
mov word [ebp - 0x50], 0
mov dword [ebp - 4], 0x15
push 0x40f210
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x41bf7c
mov eax, dword [0x55e074]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0047d3d0
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [eax + 0x68]
fnclex
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x4d4d71
push 0x68
push 0x40f2ec
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x178], eax
jmp 0x4d4d7b
mov dword [ebp - 0x178], 0
cmp dword [ebp - 0x110], 0
jne 0x4d4e0c
mov dword [ebp - 4], 0x17
mov word [ebp - 0x10c], 0xffff
mov edx, 0x41c0d4
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x41c048
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.00482950
movsx ecx, ax
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
push 2
call dword [fcn.004012f0]
add esp, 0xc
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0x44], 0
je 0x4d4dfd
mov dword [ebp - 4], 0x19
mov word [ebp - 0x50], 0xffff
jmp 0x4d4e0a
mov dword [ebp - 4], 0x1b
mov word [ebp - 0x50], 0
jmp 0x4d4e19
mov dword [ebp - 4], 0x1e
mov word [ebp - 0x50], 0xffff
mov dword [ebp - 4], 0x20
movsx ecx, word [ebp - 0x50]
test ecx, ecx
je 0x4d51ed
mov dword [ebp - 4], 0x21
mov word [ebp - 0x10c], 0xffff
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xd8], 0x4008
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0053cf20
movsx ecx, ax
test ecx, ecx
jne 0x4d4f8b
mov dword [ebp - 4], 0x22
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe8], 0x4008
mov dword [ebp - 0xd0], 0x40d7b4
mov dword [ebp - 0xd8], 8
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x88]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x114]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [eax + 0x44]
fnclex
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x4d4f58
push 0x44
push 0x40f50c
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x17c], eax
jmp 0x4d4f62
mov dword [ebp - 0x17c], 0
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x88]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x24
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bfe70
movsx edx, ax
test edx, edx
jne 0x4d50bc
mov dword [ebp - 4], 0x25
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xe8], 0x4008
mov dword [ebp - 0xd0], 0x40d7b4
mov dword [ebp - 0xd8], 8
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0x88]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x114]
push edx
call dword [ecx + 0x44]
fnclex
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x4d5089
push 0x44
push 0x40f50c
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x180], eax
jmp 0x4d5093
mov dword [ebp - 0x180], 0
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x88]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x27
mov edx, dword [ebp + 8]
push edx
call fcn.004c2170
movsx eax, ax
test eax, eax
jne 0x4d51ed
mov dword [ebp - 4], 0x28
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov edx, dword [ebp + 8]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xe8], 0x4008
mov dword [ebp - 0xd0], 0x40d7b4
mov dword [ebp - 0xd8], 8
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0x88]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x114]
push eax
call dword [edx + 0x44]
fnclex
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x4d51ba
push 0x44
push 0x40f50c
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x184], eax
jmp 0x4d51c4
mov dword [ebp - 0x184], 0
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x88]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x2b
mov word [ebp - 0x2c], 0xffff
jmp 0x4d52aa
call dword [fcn.004010d4]
wait
push 0x4d5377
jmp 0x4d5325
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
jmp 0x406bcc