Function at 0x4eb340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401686
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401300
mov eax, dword [0x503098]
xor ebx, ebx
push eax
push 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503098]
xor edx, edx
mov dword [ebp - 0x44], eax
mov dword [0x503128], edx
cmp edx, dword [ebp - 0x44]
jg 0x4eba35
cmp ecx, ebx
je 0x4eb3d2
cmp word [ecx], 1
jne 0x4eb3d2
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub edx, esi
mov esi, edx
cmp esi, eax
jb 0x4eb3c5
call edi
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb3da
call edi
mov ecx, dword [0x503098]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax + 0xc]
push edx
push 0x40cb8c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
push 0x503128
neg esi
sbb esi, esi
inc esi
call fcn.004f89b0
xor ecx, ecx
cmp ax, 0xffff
setne cl
or esi, ecx
mov ecx, dword [0x503098]
jne 0x4eb459
cmp ecx, ebx
je 0x4eb442
cmp word [ecx], 1
jne 0x4eb442
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4eb435
call edi
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb44a
call edi
mov ecx, dword [0x503098]
mov edx, dword [ecx + 0xc]
cmp word [edx + eax + 0x54], 0xffff
je 0x4eb974
cmp ecx, ebx
je 0x4eb48a
cmp word [ecx], 1
jne 0x4eb48a
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4eb47d
call edi
mov ecx, dword [0x503098]
lea ebx, [esi + esi*2]
shl ebx, 3
sub ebx, esi
shl ebx, 2
jmp 0x4eb494
call edi
mov ecx, dword [0x503098]
mov ebx, eax
test ecx, ecx
je 0x4eb4c5
cmp word [ecx], 1
jne 0x4eb4c5
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4eb4b8
call edi
mov ecx, dword [0x503098]
lea edi, [esi + esi*2]
shl edi, 3
sub edi, esi
shl edi, 2
jmp 0x4eb4d3
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503098]
mov edi, eax
test ecx, ecx
je 0x4eb508
cmp word [ecx], 1
jne 0x4eb508
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4eb4fb
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb514
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503098]
mov esi, dword [ecx + 0xc]
mov ecx, esi
mov edx, dword [ecx + eax + 0xc]
push edx
push 0x40d018
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov cl, byte [edi + esi + 0x36]
mov edx, eax
mov edi, dword [0x503178]
neg edx
sbb edx, edx
xor eax, eax
neg edx
test cl, cl
sete al
xor ecx, ecx
cmp byte [edi + 0x18], cl
setne cl
or eax, ecx
neg eax
sbb eax, eax
neg eax
and edx, eax
mov eax, dword [esi + ebx + 0xc]
neg edx
sbb edx, edx
push eax
neg edx
push 0x40cb8c
mov dword [ebp - 0x54], edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
push 0x503128
neg esi
sbb esi, esi
inc esi
call fcn.004f89b0
xor ecx, ecx
cmp ax, 0xffff
setne cl
mov edx, dword [ebp - 0x54]
or esi, ecx
neg esi
sbb esi, esi
neg esi
or edx, esi
je 0x4eb997
mov ecx, dword [0x503098]
test ecx, ecx
je 0x4eb5d7
cmp word [ecx], 1
jne 0x4eb5d7
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
sub esi, edx
cmp esi, eax
jb 0x4eb5ca
call edi
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb5e5
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
call edi
mov ecx, dword [0x503098]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov edx, dword [ecx + eax + 0xc]
push edx
push 0x40cb8c
call ebx
mov esi, eax
push 0x503128
neg esi
sbb esi, esi
inc esi
call fcn.004f89b0
xor ecx, ecx
cmp ax, 0xffff
setne cl
or esi, ecx
mov ecx, dword [0x503098]
jne 0x4eb776
test ecx, ecx
je 0x4eb65b
cmp word [ecx], 1
jne 0x4eb65b
mov edx, dword [0x503128]
mov eax, dword [ecx + 0x14]
mov esi, edx
sub esi, eax
mov eax, dword [ecx + 0x10]
cmp esi, eax
jb 0x4eb64e
call edi
mov ecx, dword [0x503098]
mov edx, dword [0x503128]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb669
call edi
mov ecx, dword [0x503098]
mov edx, dword [0x503128]
mov esi, dword [ecx + 0xc]
cmp word [esi + eax + 0x14], 0
jne 0x4eb77c
test ecx, ecx
je 0x4eb6a5
cmp word [ecx], 1
jne 0x4eb6a5
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub edx, esi
mov esi, edx
cmp esi, eax
jb 0x4eb698
call edi
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb6ad
call edi
mov ecx, dword [0x503098]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax + 0xc]
push eax
push 0x40d030
call ebx
mov edx, dword [0x503178]
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp byte [edx + 0xb4], 1
setne cl
or eax, ecx
mov ecx, dword [0x503098]
jne 0x4eb72d
test ecx, ecx
je 0x4eb719
cmp word [ecx], 1
jne 0x4eb719
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4eb702
call edi
mov ecx, dword [0x503098]
mov ecx, dword [ecx + 0xc]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
mov word [ecx + eax + 0x14], 0
jmp 0x4eb770
call edi
mov ecx, dword [0x503098]
mov ecx, dword [ecx + 0xc]
mov word [ecx + eax + 0x14], 0
jmp 0x4eb770
test ecx, ecx
je 0x4eb75e
cmp word [ecx], 1
jne 0x4eb75e
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4eb751
call edi
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb766
call edi
mov ecx, dword [0x503098]
mov edx, dword [ecx + 0xc]
mov word [edx + eax + 0x14], 0xffff
mov ecx, dword [0x503098]
mov edx, dword [0x503128]
test ecx, ecx
je 0x4eb7a9
cmp word [ecx], 1
jne 0x4eb7a9
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub edx, esi
mov esi, edx
cmp esi, eax
jb 0x4eb79c
call edi
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb7b1
call edi
mov ecx, dword [0x503098]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax + 0xc]
push edx
push 0x40cb8c
call ebx
test eax, eax
je 0x4eb948
mov ecx, dword [0x503098]
test ecx, ecx
je 0x4eb807
cmp word [ecx], 1
jne 0x4eb807
mov edx, dword [0x503128]
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov esi, edx
sub esi, ebx
cmp esi, eax
jb 0x4eb7fa
call edi
mov ecx, dword [0x503098]
mov edx, dword [0x503128]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb815
call edi
mov ecx, dword [0x503098]
mov edx, dword [0x503128]
mov esi, dword [ecx + 0xc]
or ebx, 0xffffffff
cmp word [esi + eax + 0x14], bx
jne 0x4eb954
mov eax, dword [0x503210]
mov dword [ebp - 0x14], ebx
test eax, eax
jne 0x4eb847
push 0x503210
push 0x406a0c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x503210]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x304]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0xe0]
test eax, eax
fnclex
jge 0x4eb882
push 0xe0
push 0x40a024
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [0x503098]
test ecx, ecx
je 0x4eb8b9
cmp word [ecx], 1
jne 0x4eb8b9
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4eb8ac
call edi
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb8c1
call edi
mov ecx, dword [0x503098]
mov edx, dword [ecx + 0xc]
xor ecx, ecx
cmp word [edx + eax + 0x56], cx
sete cl
neg ecx
xor edx, edx
cmp word [ebp - 0x1c], 1
sete dl
neg edx
and ecx, edx
mov si, cx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
test si, si
je 0x4eb948
mov ecx, dword [0x503098]
test ecx, ecx
je 0x4eb926
cmp word [ecx], 1
jne 0x4eb926
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4eb919
call edi
mov ecx, dword [0x503098]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
shl eax, 2
jmp 0x4eb92e
call edi
mov ecx, dword [0x503098]
mov ecx, dword [ecx + 0xc]
mov word [ecx + eax + 0x56], bx
mov edx, dword [0x5031dc]
push edx
call fcn.0040ada0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [0x503098]
mov edx, dword [0x503128]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, 1
add edx, eax
jo 0x4ec26a
mov dword [0x503128], edx
xor ebx, ebx
jmp 0x4eb39c
mov edx, 0x40d000
mov ecx, 0x5030d0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov word [0x503124], 0x4b
push 0x4ec259
jmp 0x4ec258
mov eax, dword [0x503210]
test eax, eax
jne 0x4eb9b5
push 0x503210
push 0x406a0c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x503210]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x304]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0xe0]
test eax, eax
fnclex
jge 0x4eb9f0
push 0xe0
push 0x40a024
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
xor edx, edx
cmp word [ebp - 0x1c], 1
lea ecx, [ebp - 0x18]
sete dl
neg edx
mov esi, edx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
test si, si
je 0x4eba1d
mov eax, dword [0x5031d8]
push eax
call fcn.0040ada0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, 0x40d000
mov ecx, 0x5030d0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
xor ebx, ebx
cmp word [ebp - 0x14], 0xffff
je 0x4ec247
mov ecx, dword [0x503110]
cmp ecx, ebx
je 0x4eba6c
cmp word [ecx], 1
jne 0x4eba6c
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg esi
cmp esi, eax
jb 0x4eba64
call edi
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4eba74
call edi
mov ecx, dword [0x503110]
mov dword [ebp - 0x20], ebx
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax + 4]
push edx
push 0x40cb8c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
lea eax, [ebp - 0x20]
neg esi
sbb esi, esi
push eax
inc esi
call fcn.004f9210
xor ecx, ecx
cmp ax, 0xffff
setne cl
or esi, ecx
jne 0x4ebc10
cmp word [0x50311a], 5
jle 0x4ebc10
mov edx, 0x40d000
mov ecx, 0x5030d0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov ecx, dword [0x503110]
cmp ecx, ebx
je 0x4ebaf5
cmp word [ecx], 1
jne 0x4ebaf5
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg esi
cmp esi, eax
jb 0x4ebaed
call edi
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ebafd
call edi
mov ecx, dword [0x503110]
mov edx, dword [ecx + 0xc]
mov word [edx + eax + 0x12], 0xffff
mov eax, dword [0x503210]
cmp eax, ebx
jne 0x4ebb25
push 0x503210
push 0x406a0c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x503210]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x304]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0xe0]
cmp eax, ebx
fnclex
jge 0x4ebb60
push 0xe0
push 0x40a024
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [0x503110]
cmp ecx, ebx
je 0x4ebb8c
cmp word [ecx], 1
jne 0x4ebb8c
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg esi
cmp esi, eax
jb 0x4ebb84
call edi
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ebb94
call edi
mov ecx, dword [0x503110]
mov edx, dword [ecx + 0xc]
xor ecx, ecx
cmp word [edx + eax + 0x2c], bx
sete cl
neg ecx
xor edx, edx
cmp word [ebp - 0x1c], 1
sete dl
neg edx
and ecx, edx
mov si, cx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
cmp si, bx
je 0x4ec247
mov ecx, dword [0x503110]
cmp ecx, ebx
je 0x4ebbf2
cmp word [ecx], 1
jne 0x4ebbf2
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg esi
cmp esi, eax
jb 0x4ebbea
call edi
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ebbfa
call edi
mov ecx, dword [0x503110]
mov ecx, dword [ecx + 0xc]
mov word [ecx + eax + 0x2c], 0xffff
mov edx, dword [0x5031e0]
push edx
jmp 0x4ec23c
mov eax, dword [0x503110]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov edi, 1
mov ebx, eax
mov eax, edi
cmp eax, ebx
mov dword [0x503128], eax
jg 0x4ec1a2
mov ecx, dword [0x503110]
test ecx, ecx
je 0x4ebc64
cmp word [ecx], 1
jne 0x4ebc64
sub eax, dword [ecx + 0x14]
mov esi, eax
mov eax, dword [ecx + 0x10]
cmp esi, eax
jb 0x4ebc5c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ebc70
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax + 4]
push edx
push 0x40cb8c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
push 0x503128
neg esi
sbb esi, esi
inc esi
call fcn.004f9210
xor ecx, ecx
cmp ax, 0xffff
setne cl
or esi, ecx
je 0x4ebcb3
mov eax, dword [0x503128]
add eax, edi
jo 0x4ec26a
jmp 0x4ebc27
mov edx, 0x40d000
mov ecx, 0x5030d0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov ecx, dword [0x503110]
test ecx, ecx
je 0x4ebcfb
cmp word [ecx], 1
jne 0x4ebcfb
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
sub esi, edx
cmp esi, eax
jb 0x4ebcf3
call edi
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ebd0d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ecx + 0xc]
mov word [edx + eax + 0x12], 0xffff
mov eax, dword [0x503210]
test eax, eax
jne 0x4ebd35
push 0x503210
push 0x406a0c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x503210]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x304]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0xe0]
test eax, eax
fnclex
jge 0x4ebd70
push 0xe0
push 0x40a024
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [0x503110]
test ecx, ecx
je 0x4ebda5
cmp word [ecx], 1
jne 0x4ebda5
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ebd9a
call edi
mov ecx, dword [0x503110]
lea esi, [esi + esi*2]
shl esi, 4
mov dword [ebp - 0x58], esi
jmp 0x4ebdb0
call edi
mov ecx, dword [0x503110]
mov dword [ebp - 0x58], eax
test ecx, ecx
je 0x4ebddc
cmp word [ecx], 1
jne 0x4ebddc
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ebdd4
call edi
mov ecx, dword [0x503110]
lea edi, [esi + esi*2]
shl edi, 4
jmp 0x4ebdea
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov edi, eax
test ecx, ecx
je 0x4ebe1a
cmp word [ecx], 1
jne 0x4ebe1a
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ebe12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
lea ebx, [esi + esi*2]
shl ebx, 4
jmp 0x4ebe28
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov ebx, eax
test ecx, ecx
je 0x4ebe58
cmp word [ecx], 1
jne 0x4ebe58
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ebe50
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ebe64
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax + 4]
push eax
push 0x40d054
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov ecx, dword [0x503110]
mov esi, eax
neg esi
mov edx, dword [ecx + 0xc]
sbb esi, esi
mov eax, dword [edx + ebx + 4]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg esi
push eax
push 0x40ce94
neg esi
call ebx
mov ecx, dword [0x503110]
neg eax
mov edx, dword [ecx + 0xc]
sbb eax, eax
neg eax
neg eax
and esi, eax
mov eax, dword [edx + edi + 4]
push eax
push 0x40d044
call ebx
mov ecx, dword [0x503110]
neg eax
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x58]
sbb eax, eax
neg eax
neg eax
and esi, eax
xor eax, eax
cmp word [edx + ecx + 0x2c], ax
lea ecx, [ebp - 0x18]
sete al
neg eax
and esi, eax
xor edx, edx
cmp word [ebp - 0x1c], 1
sete dl
neg edx
and esi, edx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
test si, si
je 0x4ebf5f
mov ecx, dword [0x503110]
test ecx, ecx
je 0x4ebf33
cmp word [ecx], 1
jne 0x4ebf33
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
sub esi, edx
cmp esi, eax
jb 0x4ebf2b
call edi
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ebf41
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
call edi
mov ecx, dword [0x503110]
mov ecx, dword [ecx + 0xc]
mov word [ecx + eax + 0x2c], 0xffff
mov edx, dword [0x5031e0]
push edx
call fcn.0040ada0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x4ebf65
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x503210]
test eax, eax
jne 0x4ebf83
push 0x503210
push 0x406a0c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x503210]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x304]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0xe0]
test eax, eax
fnclex
jge 0x4ebfbe
push 0xe0
push 0x40a024
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [0x503110]
test ecx, ecx
je 0x4ebff3
cmp word [ecx], 1
jne 0x4ebff3
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ebfe8
call edi
mov ecx, dword [0x503110]
lea esi, [esi + esi*2]
shl esi, 4
mov dword [ebp - 0x5c], esi
jmp 0x4ebffe
call edi
mov ecx, dword [0x503110]
mov dword [ebp - 0x5c], eax
test ecx, ecx
je 0x4ec02a
cmp word [ecx], 1
jne 0x4ec02a
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ec022
call edi
mov ecx, dword [0x503110]
lea edi, [esi + esi*2]
shl edi, 4
jmp 0x4ec038
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov edi, eax
test ecx, ecx
je 0x4ec068
cmp word [ecx], 1
jne 0x4ec068
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ec060
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
lea ebx, [esi + esi*2]
shl ebx, 4
jmp 0x4ec076
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov ebx, eax
test ecx, ecx
je 0x4ec0a6
cmp word [ecx], 1
jne 0x4ec0a6
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ec09e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ec0b2
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax + 4]
push eax
push 0x40d054
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov ecx, dword [0x503110]
mov esi, eax
neg esi
mov edx, dword [ecx + 0xc]
sbb esi, esi
mov eax, dword [edx + ebx + 4]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
inc esi
push eax
push 0x40ce94
neg esi
call ebx
mov ecx, dword [0x503110]
neg eax
mov edx, dword [ecx + 0xc]
sbb eax, eax
inc eax
neg eax
or esi, eax
mov eax, dword [edx + edi + 4]
push eax
push 0x40d044
call ebx
mov ecx, dword [0x503110]
neg eax
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x5c]
sbb eax, eax
inc eax
neg eax
or esi, eax
xor eax, eax
cmp word [edx + ecx + 0x2c], ax
lea ecx, [ebp - 0x18]
sete al
neg eax
and esi, eax
xor edx, edx
cmp word [ebp - 0x1c], 1
sete dl
neg edx
and esi, edx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
test si, si
je 0x4ec247
mov ecx, dword [0x503110]
test ecx, ecx
je 0x4ec180
cmp word [ecx], 1
jne 0x4ec180
mov esi, dword [0x503128]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4ec178
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4ec18c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x503110]
mov ecx, dword [ecx + 0xc]
mov word [ecx + eax + 0x2c], 0xffff
mov edx, dword [0x5031e8]
push edx
jmp 0x4ec23c
call fcn.004f97d0
cmp ax, 0xffff
jne 0x4ec247
mov edx, 0x40d000
mov ecx, 0x5030d0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [0x503210]
test eax, eax
jne 0x4ec1df
push 0x503210
push 0x406a0c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x503210]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x304]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0xe0]
test eax, eax
fnclex
jge 0x4ec21a
push 0xe0
push 0x40a024
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
xor edx, edx
cmp word [ebp - 0x1c], 1
lea ecx, [ebp - 0x18]
sete dl
neg edx
mov esi, edx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
test si, si
je 0x4ec247
mov eax, dword [0x5031d8]
push eax
call fcn.0040ada0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x4ec259
jmp 0x4ec258
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]