Function at 0x4976a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4055a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403b50
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], edi
call fcn.004a45d0
push 0x4f15cc
mov word [0x4f15d8], di
mov word [0x4f1770], di
mov word [0x4f1580], di
call fcn.004baa30
mov ecx, dword [ebp + 8]
mov eax, dword [0x4f15cc]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x421614
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
mov dword [0x4f15c8], edi
call esi
lea edx, [ebp - 0x14]
push 0x4f1600
push edx
call fcn.004b92e0
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [0x4f1600]
mov ecx, 0x4f1584
call esi
mov edx, 0x4124f4
mov ecx, 0x4f1588
mov word [0x4f158c], 1
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov cx, word [0x4f158c]
mov dword [0x4f1590], edi
mov dword [0x4f1594], edi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
test cx, cx
jle 0x497c9d
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
test edx, edx
je 0x4977e4
cmp word [edx], 1
jne 0x4977e4
movsx eax, cx
sub eax, dword [edx + 0x14]
cmp eax, dword [edx + 0x10]
mov dword [ebp - 0xbc], eax
jb 0x4977df
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov cx, word [0x4f158c]
mov eax, dword [ebp - 0xbc]
shl eax, 3
jmp 0x4977f1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov cx, word [0x4f158c]
mov edx, dword [ebp + 0x24]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
fld qword [edx + eax]
fcomp qword [0x402048]
fnstsw ax
test ah, 0x40
jne 0x497c9d
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
test edx, edx
je 0x497842
cmp word [edx], 1
jne 0x497842
movsx eax, cx
mov ecx, dword [edx + 0x14]
sub eax, ecx
mov ecx, dword [edx + 0x10]
cmp eax, ecx
mov dword [ebp - 0xbc], eax
jb 0x49783d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0xbc]
shl eax, 3
jmp 0x497848
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp + 0x24]
push 0x4ee348
mov edx, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [ecx + eax]
mov dword [0x4f1590], edx
mov eax, dword [ecx + eax + 4]
mov word [0x4f1578], 0
mov dword [0x4f1594], eax
call fcn.0045e380
mov cx, word [0x4ee33e]
push 0x4f15d0
push 0x421628
push ecx
call fcn.0045bbc0
test ax, ax
jne 0x4979b6
push 0x4f15d0
push 2
lea edx, [ebp - 0x1c]
push 0x4124ec
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
lea eax, [ebp - 0x18]
push 0x421628
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
lea ecx, [ebp - 0x14]
push 0x421428
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
mov dx, word [0x4ee33e]
push eax
push edx
call fcn.00419698
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x20]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x20]
push edx
push eax
lea ecx, [ebp - 0xb0]
push 0x4ee33e
push ecx
call fcn.0045e0e0
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push edx
push eax
push 5
call edi
add esp, 0x18
mov edx, 0x4218b0
mov ecx, 0x4ee078
call esi
mov ecx, dword [0x4ee078]
lea edx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov ax, word [0x4f15d0]
push eax
call fcn.00419830
mov dword [ebp - 0xac], eax
call ebx
mov ecx, dword [ebp - 0x14]
push ecx
push 0x4ee078
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov dx, word [ebp - 0xac]
lea ecx, [ebp - 0x14]
mov word [0x4f1580], dx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call fcn.004ac9c0
call fcn.004af4f0
mov eax, dword [0x4f1594]
mov ecx, dword [0x4f1590]
mov dx, word [0x4f15d0]
push 0
push eax
push ecx
push 1
push edx
call fcn.0041a164
mov dword [ebp - 0xac], eax
call ebx
mov ax, word [ebp - 0xac]
mov word [0x4f1580], ax
mov cx, word [0x4f15d0]
push ecx
call fcn.0041a3b8
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb0], edx
lea ecx, [ebp - 0xb4]
push eax
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0xb0]
push 0x4ee33e
push ecx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
push edx
push eax
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x4979e9
movsx ecx, word [0x4f1580]
mov dword [0x4f15d4], ecx
call fcn.004aacb0
cmp dword [0x4f15d4], 0x65
je 0x497bbb
mov edx, dword [0x4f2b50]
mov eax, dword [0x4f2b54]
mov dword [0x4f1570], edx
lea ecx, [ebp - 0xb0]
mov dword [0x4f1574], eax
lea edx, [ebp - 0xac]
push ecx
lea eax, [ebp - 0x78]
push edx
push eax
mov word [0x4f1578], 1
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xa
mov dword [ebp - 0x70], 0x4f1570
mov dword [ebp - 0x78], 0x4005
call fcn.00448490
mov edx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, dword [ebp - 0x20]
mov ecx, 0xa
mov eax, 0x80020004
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x48], ecx
push 0x42194c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x421970
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x58]
push ecx
lea eax, [ebp - 0x48]
push edx
push eax
lea ecx, [ebp - 0x38]
push 0x40
push ecx
mov dword [ebp - 0x38], 8
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 4
call edi
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x58]
push eax
lea edx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x38]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x28
mov cx, word [0x4f15d0]
push ecx
call fcn.0041a240
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb0], edx
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0xb0]
push 0x4ee33e
push eax
call fcn.0045e0e0
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push 2
mov word [0x4f1580], ax
call edi
add esp, 0xc
cmp word [0x4f1578], 0
jne 0x497c74
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.004985b0
cmp word [0x4f15d8], 1
je 0x497d1f
mov edx, 0x41b270
mov ecx, 0x4f1588
call esi
mov cx, word [0x4f158c]
add cx, 1
jo 0x4985a5
mov word [0x4f158c], cx
jmp 0x4977a3
mov edx, dword [0x4f1588]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcRightTrimBstr]
mov edx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4124f4
call dword [sym.imp.MSVBVM60.DLL_rtcRightTrimBstr]
mov edx, eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x14]
inc eax
neg eax
mov word [ebp - 0xbc], ax
lea eax, [ebp - 0x18]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [ebp - 0xbc], 0
je 0x497d1f
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.004985b0
mov eax, dword [0x4f5b70]
test eax, eax
jne 0x497d38
push 0x4f5b70
push 0x417d08
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
sub esp, 0x10
mov ecx, dword [0x4f5b70]
mov edx, esp
mov eax, 3
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], 1
mov dword [edx], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ecx]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x70]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xbc]
push edx
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x497d93
mov ecx, dword [ebp - 0xbc]
push 0x44
push 0x417cf8
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [0x4ee334], 0xffff
je 0x497e3c
mov dx, word [0x4ee334]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee334
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x497da1
cmp word [0x4ee336], 0xffff
je 0x497ee5
mov dx, word [0x4ee336]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee336
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x497e4a
cmp word [0x4ee338], 0xffff
je 0x497f8e
mov dx, word [0x4ee338]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee338
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x497ef3
cmp word [0x4ee33a], 0xffff
je 0x498037
mov dx, word [0x4ee33a]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee33a
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x497f9c
cmp word [0x4ee33c], 0xffff
je 0x4980e0
mov dx, word [0x4ee33c]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee33c
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x498045
cmp word [0x4ee33e], 0xffff
je 0x498189
mov dx, word [0x4ee33e]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee33e
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x4980ee
cmp word [0x4ee340], 0xffff
je 0x498232
mov dx, word [0x4ee340]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee340
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x498197
cmp word [0x4ee342], 0xffff
je 0x4982db
mov dx, word [0x4ee342]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee342
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x498240
cmp word [0x4ee344], 0xffff
je 0x498384
mov dx, word [0x4ee344]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee344
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x4982e9
cmp word [0x4ee346], 0xffff
je 0x49842d
mov dx, word [0x4ee346]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee346
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x498392
cmp word [0x4ee348], 0xffff
je 0x4984d6
mov dx, word [0x4ee348]
push edx
call fcn.0041a404
mov dword [ebp - 0xac], eax
call ebx
mov edx, 0x421428
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 3
call esi
mov edx, 0x4124ec
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0xb0]
push 0x4ee348
push edx
call fcn.0045e160
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x4f1580], ax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [0x4ee320], 0
jne 0x49843b
mov eax, dword [0x4f5aac]
test eax, eax
jne 0x4984ef
push 0x4f5aac
push 0x415574
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4f5aac]
lea eax, [ebp - 0x28]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x18]
test eax, eax
fnclex
jge 0x498514
push 0x18
push 0x415564
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
mov dx, word [0x4ee142]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x7c]
test eax, eax
fnclex
jge 0x49853c
push 0x7c
push 0x415584
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
wait
push 0x498592
jmp 0x498591
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop