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

Disassembly:
push ebp
mov ebp, esp
push 0x48
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
fld dword [0x4023e8]
fstp dword [ebp - 8]
mov eax, dword [0x4d1b68]
sub eax, 1
jo 0x4bd8ae
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
and dword [ebp - 4], 0
jmp 0x4bd6de
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x2c]
jo 0x4bd8ae
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x30]
jg 0x4bd89b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x302
jae 0x4bd6ff
and dword [ebp - 0x34], 0
jmp 0x4bd707
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
shl eax, 7
mov ecx, dword [0x4d1b5c]
cmp dword [ecx + eax + 0x48], 4
je 0x4bd896
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x302
jae 0x4bd733
and dword [ebp - 0x38], 0
jmp 0x4bd73b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x302
jae 0x4bd750
and dword [ebp - 0x3c], 0
jmp 0x4bd758
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x302
jae 0x4bd76d
and dword [ebp - 0x40], 0
jmp 0x4bd775
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
shl eax, 7
mov ecx, dword [0x4d1b5c]
push dword [ecx + eax + 0x7c]
push 0x422518
call sub.MSVBVM60.DLL___vbaStrCmp
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 0x24]
shl eax, 7
mov ecx, dword [0x4d1b5c]
push dword [ecx + eax + 0x7c]
push 0x422528
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
and esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 0x28]
shl eax, 7
mov ecx, dword [0x4d1b5c]
push dword [ecx + eax + 0x7c]
push 0x422538
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
and esi, eax
test esi, esi
jne 0x4bd896
fld qword [0x404248]
fchs
fstp dword [ebp - 0x1c]
fnstsw ax
test al, 0xd
jne 0x4bd8a9
fld qword [0x4038f8]
fchs
fstp dword [ebp - 0x18]
fnstsw ax
test al, 0xd
jne 0x4bd8a9
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x302
jae 0x4bd828
and dword [ebp - 0x44], 0
jmp 0x4bd830
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x302
jae 0x4bd845
and dword [ebp - 0x48], 0
jmp 0x4bd84d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x20]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 8]
push eax
call fcn.0045184a
fstp dword [ebp - 0x10]
fld dword [ebp - 8]
fcomp dword [ebp - 0x10]
fnstsw ax
sahf
jbe 0x4bd896
fld dword [ebp - 0x10]
fstp dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
jmp 0x4bd6cf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop esi
leave
ret 4
jmp fcn.0040444c
call sub.MSVBVM60.DLL___vbaErrorOverflow